Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 218.8 kB / 23.03 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.065/3.065, allocations: 0.5003 GB / 0.8062 GB, free: 28.22 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.7 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3295, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006759/0.3362, allocations: 4.482 MB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1634/0.4996, allocations: 132.6 MB / 1.479 GB, free: 6.34 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.5007, allocations: 23.81 kB / 1.479 GB, free: 6.316 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008921/0.5016, allocations: 198.2 kB / 1.479 GB, free: 6.121 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.5038, allocations: 0.5728 MB / 1.48 GB, free: 5.551 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.5062, allocations: 0.8478 MB / 1.481 GB, free: 4.707 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002011/0.5082, allocations: 1.397 MB / 1.482 GB, free: 3.305 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009523/0.5092, allocations: 413.9 kB / 1.482 GB, free: 2.879 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008843/0.51, allocations: 0.5022 MB / 1.483 GB, free: 2.375 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008276/0.5109, allocations: 0.5018 MB / 1.483 GB, free: 1.871 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002728/0.5111, allocations: 119.9 kB / 1.484 GB, free: 1.754 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.5123, allocations: 0.4918 MB / 1.484 GB, free: 1.262 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003783/0.5127, allocations: 299 kB / 1.484 GB, free: 0.9688 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006723/0.5133, allocations: 461.8 kB / 1.485 GB, free: 0.5156 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00234/0.5157, allocations: 1.685 MB / 1.486 GB, free: 14.82 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.5157, allocations: 0 / 1.486 GB, free: 14.82 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5157, allocations: 0 / 1.486 GB, free: 14.82 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.159e-05/0.5157, allocations: 7.938 kB / 1.486 GB, free: 14.82 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002669/0.5184, allocations: 1.404 MB / 1.488 GB, free: 13.38 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.5184, allocations: 12.03 kB / 1.488 GB, free: 13.36 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.652e-05/0.5184, allocations: 26.17 kB / 1.488 GB, free: 13.34 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.5186, allocations: 131.3 kB / 1.488 GB, free: 13.2 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.5201, allocations: 232 kB / 1.488 GB, free: 12.98 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.5214, allocations: 0.7178 MB / 1.489 GB, free: 12.23 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.807e-05/0.5215, allocations: 62 kB / 1.489 GB, free: 12.17 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.5216, allocations: 80 kB / 1.489 GB, free: 12.09 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.5234, allocations: 1.162 MB / 1.49 GB, free: 10.82 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.5234, allocations: 0 / 1.49 GB, free: 10.82 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.804e-05/0.5235, allocations: 40 kB / 1.49 GB, free: 10.79 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.5235, allocations: 20 kB / 1.49 GB, free: 10.77 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.5253, allocations: 1.1 MB / 1.491 GB, free: 9.664 MB / 1.186 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.00404/0.5293, allocations: 2.272 MB / 1.494 GB, free: 7.324 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.5308, allocations: 0.7477 MB / 1.494 GB, free: 6.57 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000511/0.5313, allocations: 266.7 kB / 1.494 GB, free: 6.309 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.731e-05/0.5313, allocations: 28.62 kB / 1.495 GB, free: 6.277 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009192/0.5323, allocations: 0.5727 MB / 1.495 GB, free: 5.664 MB / 1.186 GB Notification: Performance of pre-optimization done (n=78): time 2.905e-06/0.5323, allocations: 4 kB / 1.495 GB, free: 5.66 MB / 1.186 GB Notification: Performance of matching and sorting (n=78): time 0.003213/0.5355, allocations: 1.107 MB / 1.496 GB, free: 4.543 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.5356, allocations: 192.6 kB / 1.496 GB, free: 4.312 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009091/0.5365, allocations: 0.6606 MB / 1.497 GB, free: 3.641 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.511e-05/0.5366, allocations: 41.7 kB / 1.497 GB, free: 3.594 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/0.5369, allocations: 409 kB / 1.497 GB, free: 3.188 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.5372, allocations: 265.8 kB / 1.498 GB, free: 2.926 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.5374, allocations: 146.6 kB / 1.498 GB, free: 2.777 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.5376, allocations: 390.7 kB / 1.498 GB, free: 2.387 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004902/0.5381, allocations: 241.8 kB / 1.498 GB, free: 2.148 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006689/0.5388, allocations: 499.9 kB / 1.499 GB, free: 1.602 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.5398, allocations: 0.5768 MB / 1.499 GB, free: 1.008 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5398, allocations: 0 / 1.499 GB, free: 1.008 MB / 1.186 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001972/0.5418, allocations: 0.7945 MB / 1.5 GB, free: 208 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.5418, allocations: 6.031 kB / 1.5 GB, free: 204 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.5418, allocations: 12.11 kB / 1.5 GB, free: 192 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/0.5425, allocations: 80.72 kB / 1.5 GB, free: 108 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/0.5431, allocations: 143.8 kB / 1.5 GB, free: 15.96 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.5453, allocations: 1.527 MB / 1.502 GB, free: 14.32 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008392/0.5462, allocations: 87.52 kB / 1.502 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-05/0.5463, allocations: 31.98 kB / 1.502 GB, free: 14.2 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$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 (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005354/0.5468, allocations: 269.6 kB / 1.502 GB, free: 13.93 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.547, allocations: 87.44 kB / 1.502 GB, free: 13.84 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.5494, allocations: 1.042 MB / 1.503 GB, free: 12.79 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.5495, allocations: 19.94 kB / 1.503 GB, free: 12.77 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5495, allocations: 0 / 1.503 GB, free: 12.77 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.5495, allocations: 3.984 kB / 1.503 GB, free: 12.77 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.5506, allocations: 0.7585 MB / 1.504 GB, free: 11.96 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5506, allocations: 0 / 1.504 GB, free: 11.96 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/0.5511, allocations: 143.8 kB / 1.504 GB, free: 11.82 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/0.5516, allocations: 72.78 kB / 1.504 GB, free: 11.75 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.1e-05/0.5516, allocations: 23.98 kB / 1.504 GB, free: 11.72 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.5536, allocations: 1.535 MB / 1.506 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5536, allocations: 0 / 1.506 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.5556, allocations: 0.9244 MB / 1.507 GB, free: 9.121 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004255/0.5561, allocations: 199.1 kB / 1.507 GB, free: 8.926 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.5562, allocations: 20 kB / 1.507 GB, free: 8.906 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006248/0.5568, allocations: 67.92 kB / 1.507 GB, free: 8.84 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.557, allocations: 76.8 kB / 1.507 GB, free: 8.766 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.425e-05/0.557, allocations: 31.98 kB / 1.507 GB, free: 8.734 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006551/0.5577, allocations: 483 kB / 1.508 GB, free: 8.266 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5577, allocations: 7.875 kB / 1.508 GB, free: 8.258 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008694/0.5586, allocations: 319.2 kB / 1.508 GB, free: 7.945 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00428/0.5628, allocations: 2.006 MB / 1.51 GB, free: 6.125 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.5645, allocations: 0.7612 MB / 1.511 GB, free: 5.352 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5645, allocations: 0 / 1.511 GB, free: 5.352 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009225/0.5654, allocations: 496.2 kB / 1.511 GB, free: 4.855 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.5667, allocations: 302.7 kB / 1.511 GB, free: 4.578 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.5772, allocations: 6.245 MB / 1.518 GB, free: 14.17 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.5777, allocations: 436 kB / 1.518 GB, free: 13.71 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008205/0.5785, allocations: 258.7 kB / 1.518 GB, free: 13.45 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/0.5791, allocations: 403.3 kB / 1.519 GB, free: 13.05 MB / 1.217 GB Notification: Performance of SimCode: time 1.182e-06/0.5791, allocations: 0 / 1.519 GB, free: 13.05 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0554/0.6345, allocations: 23.18 MB / 1.541 GB, free: 6.188 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/16.26, allocations: 8.047 kB / 1.541 GB, free: 6.18 MB / 1.232 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.034134394023567]