Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007987/0.007987, allocations: 101.5 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001769, allocations: 192.5 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.475/2.475, allocations: 437.1 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 59.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2808, allocations: 151.6 MB / 1.166 GB, free: 7.352 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008553/0.2893, allocations: 7.19 MB / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7789/1.068, allocations: 153.4 MB / 1.323 GB, free: 7.605 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/1.07, allocations: 35.09 kB / 1.323 GB, free: 7.594 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/1.071, allocations: 346.4 kB / 1.323 GB, free: 7.406 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002644/1.074, allocations: 0.7768 MB / 1.324 GB, free: 7.035 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003255/1.077, allocations: 1.397 MB / 1.326 GB, free: 6.688 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003234/1.08, allocations: 2.661 MB / 1.328 GB, free: 5.316 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/1.082, allocations: 1.034 MB / 1.329 GB, free: 4.762 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/1.083, allocations: 0.8962 MB / 1.33 GB, free: 4.312 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/1.084, allocations: 0.9059 MB / 1.331 GB, free: 3.844 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002993/1.085, allocations: 210.8 kB / 1.331 GB, free: 3.844 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/1.087, allocations: 0.975 MB / 1.332 GB, free: 3.609 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004868/1.087, allocations: 0.5383 MB / 1.333 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008961/1.088, allocations: 1.026 MB / 1.334 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00348/1.091, allocations: 2.997 MB / 1.336 GB, free: 1.312 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.091, allocations: 2.625 kB / 1.336 GB, free: 1.312 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.422e-06/1.091, allocations: 0 / 1.336 GB, free: 1.312 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.813e-05/1.092, allocations: 0 / 1.336 GB, free: 1.312 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.004801/1.096, allocations: 2.388 MB / 1.339 GB, free: 15.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.096, allocations: 12.66 kB / 1.339 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002611/1.097, allocations: 215 kB / 1.339 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/1.099, allocations: 377.4 kB / 1.339 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/1.101, allocations: 1.311 MB / 1.341 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.746e-05/1.101, allocations: 116.6 kB / 1.341 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/1.101, allocations: 138 kB / 1.341 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/1.104, allocations: 1.656 MB / 1.343 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/1.104, allocations: 3.938 kB / 1.343 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/1.104, allocations: 61.28 kB / 1.343 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.367e-05/1.104, allocations: 36.44 kB / 1.343 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004314/1.109, allocations: 2.144 MB / 1.345 GB, free: 13.38 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008385/1.117, allocations: 4.908 MB / 1.35 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003206/1.12, allocations: 1.613 MB / 1.351 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/1.121, allocations: 0.5947 MB / 1.352 GB, free: 9.477 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/1.122, allocations: 60.12 kB / 1.352 GB, free: 9.445 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001659/1.123, allocations: 0.9361 MB / 1.353 GB, free: 8.863 MB / 1.029 GB Notification: Performance of pre-optimization done (n=154): time 2.926e-06/1.123, allocations: 5.281 kB / 1.353 GB, free: 8.859 MB / 1.029 GB Notification: Performance of matching and sorting (n=154): time 0.006441/1.13, allocations: 2.375 MB / 1.355 GB, free: 7.578 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/1.13, allocations: 356.2 kB / 1.355 GB, free: 7.168 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/1.132, allocations: 1.153 MB / 1.356 GB, free: 6.531 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001525/1.132, allocations: 61.58 kB / 1.356 GB, free: 6.477 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005693/1.132, allocations: 0.6598 MB / 1.357 GB, free: 5.891 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004242/1.133, allocations: 0.4913 MB / 1.358 GB, free: 5.453 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004306/1.133, allocations: 283.3 kB / 1.358 GB, free: 5.289 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.133, allocations: 359.9 kB / 1.358 GB, free: 4.945 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/1.134, allocations: 0.4892 MB / 1.359 GB, free: 4.699 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/1.136, allocations: 0.7205 MB / 1.359 GB, free: 4.215 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00225/1.138, allocations: 1.187 MB / 1.361 GB, free: 3.547 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/1.138, allocations: 2.875 kB / 1.361 GB, free: 3.547 MB / 1.029 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003766/1.142, allocations: 1.594 MB / 1.362 GB, free: 2.738 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.142, allocations: 4.938 kB / 1.362 GB, free: 2.738 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.142, allocations: 3.5 kB / 1.362 GB, free: 2.738 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/1.143, allocations: 165.9 kB / 1.362 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/1.144, allocations: 302.5 kB / 1.363 GB, free: 2.578 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004114/1.148, allocations: 3.294 MB / 1.366 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/1.15, allocations: 177.8 kB / 1.366 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/1.15, allocations: 64.8 kB / 1.366 GB, free: 15.21 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 30 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009325/1.151, allocations: 414.8 kB / 1.366 GB, free: 14.91 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003355/1.151, allocations: 160.8 kB / 1.367 GB, free: 14.83 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00471/1.156, allocations: 2.171 MB / 1.369 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/1.156, allocations: 17.03 kB / 1.369 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.156, allocations: 0 / 1.369 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/1.156, allocations: 15.89 kB / 1.369 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/1.158, allocations: 1.617 MB / 1.37 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.158, allocations: 3.031 kB / 1.37 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/1.159, allocations: 290.2 kB / 1.371 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008592/1.16, allocations: 151 kB / 1.371 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/1.16, allocations: 57.86 kB / 1.371 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003925/1.164, allocations: 3.336 MB / 1.374 GB, free: 9.02 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.164, allocations: 3.938 kB / 1.374 GB, free: 9.016 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004288/1.168, allocations: 1.829 MB / 1.376 GB, free: 8.062 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009521/1.169, allocations: 467.6 kB / 1.376 GB, free: 7.676 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004273/1.17, allocations: 34.22 kB / 1.376 GB, free: 7.652 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/1.171, allocations: 134.2 kB / 1.376 GB, free: 7.586 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002946/1.172, allocations: 139.8 kB / 1.377 GB, free: 7.516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/1.172, allocations: 69.45 kB / 1.377 GB, free: 7.492 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001524/1.173, allocations: 0.8087 MB / 1.377 GB, free: 7.043 MB / 1.045 GB Notification: Performance of sort global known variables: time 5.81e-07/1.173, allocations: 0 / 1.377 GB, free: 7.043 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001797/1.175, allocations: 0.5211 MB / 1.378 GB, free: 6.898 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005923/1.181, allocations: 2.926 MB / 1.381 GB, free: 5.207 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003446/1.184, allocations: 1.622 MB / 1.382 GB, free: 4.344 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/1.185, allocations: 0 / 1.382 GB, free: 4.344 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/1.186, allocations: 1.039 MB / 1.383 GB, free: 3.75 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/1.189, allocations: 0.581 MB / 1.384 GB, free: 3.449 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/1.212, allocations: 11.18 MB / 1.395 GB, free: 9.273 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/1.213, allocations: 1.329 MB / 1.396 GB, free: 7.914 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001968/1.215, allocations: 0.5204 MB / 1.397 GB, free: 7.387 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/1.216, allocations: 0.7335 MB / 1.397 GB, free: 6.652 MB / 1.061 GB Notification: Performance of SimCode: time 7.32e-07/1.216, allocations: 4 kB / 1.397 GB, free: 6.648 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08322/1.299, allocations: 39.76 MB / 1.436 GB, free: 15.31 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.75, allocations: 15.64 kB / 1.436 GB, free: 15.29 MB / 1.107 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches