Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001706/0.001706, 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.002172/0.002172, allocations: 223.6 kB / 23.03 MB, free: 4.945 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.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.091/3.091, allocations: 0.49 GB / 0.7959 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_12_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.001915/0.001915, allocations: 61.41 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3051, allocations: 176.1 MB / 1.327 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006884/0.312, allocations: 4.509 MB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.158/0.47, allocations: 132.6 MB / 1.46 GB, free: 7.934 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007846/0.4708, allocations: 27.75 kB / 1.46 GB, free: 7.906 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007348/0.4715, allocations: 198.2 kB / 1.461 GB, free: 7.711 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.4737, allocations: 0.5774 MB / 1.461 GB, free: 7.137 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.476, allocations: 0.8522 MB / 1.462 GB, free: 6.289 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001988/0.478, allocations: 1.389 MB / 1.463 GB, free: 4.895 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009444/0.4789, allocations: 417.9 kB / 1.464 GB, free: 4.461 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009182/0.4798, allocations: 0.4944 MB / 1.464 GB, free: 3.965 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008481/0.4807, allocations: 0.5018 MB / 1.465 GB, free: 3.461 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003018/0.481, allocations: 116 kB / 1.465 GB, free: 3.348 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.4821, allocations: 0.4996 MB / 1.465 GB, free: 2.848 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003591/0.4825, allocations: 299 kB / 1.466 GB, free: 2.555 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005332/0.483, allocations: 461.8 kB / 1.466 GB, free: 2.102 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.4851, allocations: 1.681 MB / 1.468 GB, free: 424 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4851, allocations: 0 / 1.468 GB, free: 424 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4851, allocations: 0 / 1.468 GB, free: 424 kB / 1.154 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.4851, allocations: 0 / 1.468 GB, free: 424 kB / 1.154 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.002461/0.4875, allocations: 1.415 MB / 1.469 GB, free: 14.96 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.4876, allocations: 12.03 kB / 1.469 GB, free: 14.95 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.741e-05/0.4876, allocations: 22.19 kB / 1.469 GB, free: 14.93 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.4878, allocations: 143.2 kB / 1.469 GB, free: 14.78 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.4892, allocations: 228 kB / 1.47 GB, free: 14.55 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.4904, allocations: 0.7178 MB / 1.47 GB, free: 13.81 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-05/0.4905, allocations: 62 kB / 1.47 GB, free: 13.75 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.4906, allocations: 80 kB / 1.47 GB, free: 13.67 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.4923, allocations: 1.162 MB / 1.471 GB, free: 12.4 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.4923, allocations: 4 kB / 1.471 GB, free: 12.4 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-05/0.4924, allocations: 39.98 kB / 1.472 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.4924, allocations: 20 kB / 1.472 GB, free: 12.34 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.4942, allocations: 1.1 MB / 1.473 GB, free: 11.24 MB / 1.17 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.003773/0.498, allocations: 2.275 MB / 1.475 GB, free: 8.898 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.4994, allocations: 0.7447 MB / 1.476 GB, free: 8.141 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005045/0.4999, allocations: 266.6 kB / 1.476 GB, free: 7.879 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.616e-05/0.5, allocations: 28.62 kB / 1.476 GB, free: 7.852 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009189/0.5009, allocations: 0.5776 MB / 1.476 GB, free: 7.23 MB / 1.17 GB Notification: Performance of pre-optimization done (n=78): time 2.655e-06/0.5009, allocations: 0 / 1.476 GB, free: 7.23 MB / 1.17 GB Notification: Performance of matching and sorting (n=78): time 0.003159/0.5041, allocations: 1.107 MB / 1.477 GB, free: 6.117 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.5042, allocations: 192.6 kB / 1.478 GB, free: 5.883 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008481/0.505, allocations: 0.6645 MB / 1.478 GB, free: 5.211 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.409e-05/0.5051, allocations: 41.7 kB / 1.478 GB, free: 5.164 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/0.5054, allocations: 413 kB / 1.479 GB, free: 4.754 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.5056, allocations: 265.8 kB / 1.479 GB, free: 4.492 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.5059, allocations: 146.6 kB / 1.479 GB, free: 4.344 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.5061, allocations: 390.7 kB / 1.48 GB, free: 3.953 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004861/0.5065, allocations: 241.9 kB / 1.48 GB, free: 3.715 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006561/0.5072, allocations: 483.9 kB / 1.48 GB, free: 3.184 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.5083, allocations: 0.5846 MB / 1.481 GB, free: 2.586 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5083, allocations: 0 / 1.481 GB, free: 2.586 MB / 1.17 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001864/0.5101, allocations: 0.7984 MB / 1.482 GB, free: 1.781 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5101, allocations: 13.5 kB / 1.482 GB, free: 1.77 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5102, allocations: 0 / 1.482 GB, free: 1.77 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006268/0.5108, allocations: 84.84 kB / 1.482 GB, free: 1.684 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006168/0.5114, allocations: 147.8 kB / 1.482 GB, free: 1.539 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.5135, allocations: 1.525 MB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006524/0.5142, allocations: 95.62 kB / 1.483 GB, free: 15.8 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/0.5143, allocations: 31.98 kB / 1.483 GB, free: 15.77 MB / 1.186 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.0004156/0.5147, allocations: 270.1 kB / 1.484 GB, free: 15.49 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.5148, allocations: 87.44 kB / 1.484 GB, free: 15.41 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.5172, allocations: 1.039 MB / 1.485 GB, free: 14.35 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.5172, allocations: 15.88 kB / 1.485 GB, free: 14.34 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.5172, allocations: 0 / 1.485 GB, free: 14.34 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.5172, allocations: 7.969 kB / 1.485 GB, free: 14.33 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009731/0.5182, allocations: 0.7468 MB / 1.486 GB, free: 13.54 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5182, allocations: 4 kB / 1.486 GB, free: 13.53 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/0.5188, allocations: 139.8 kB / 1.486 GB, free: 13.39 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004575/0.5192, allocations: 72.77 kB / 1.486 GB, free: 13.32 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.376e-05/0.5193, allocations: 23.98 kB / 1.486 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.5212, allocations: 1.551 MB / 1.487 GB, free: 11.63 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.5212, allocations: 3.984 kB / 1.487 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.5231, allocations: 0.9165 MB / 1.488 GB, free: 10.69 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/0.5235, allocations: 203.1 kB / 1.488 GB, free: 10.49 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.5236, allocations: 19.98 kB / 1.488 GB, free: 10.47 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006229/0.5243, allocations: 59.94 kB / 1.488 GB, free: 10.41 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.5244, allocations: 76.8 kB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/0.5245, allocations: 31.98 kB / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000615/0.5251, allocations: 483 kB / 1.489 GB, free: 9.84 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5251, allocations: 4 kB / 1.489 GB, free: 9.836 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008173/0.5259, allocations: 327.1 kB / 1.489 GB, free: 9.516 MB / 1.186 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.004207/0.5301, allocations: 1.995 MB / 1.491 GB, free: 7.703 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001639/0.5318, allocations: 0.7611 MB / 1.492 GB, free: 6.93 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5318, allocations: 7.922 kB / 1.492 GB, free: 6.922 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009098/0.5327, allocations: 488.2 kB / 1.492 GB, free: 6.43 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.5339, allocations: 305.3 kB / 1.493 GB, free: 6.148 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.5446, allocations: 6.247 MB / 1.499 GB, free: 15.74 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.5451, allocations: 442 kB / 1.499 GB, free: 15.28 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008645/0.546, allocations: 262.7 kB / 1.5 GB, free: 15.02 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005865/0.5466, allocations: 403.3 kB / 1.5 GB, free: 14.62 MB / 1.201 GB Notification: Performance of SimCode: time 1.553e-06/0.5466, allocations: 0 / 1.5 GB, free: 14.62 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05416/0.6007, allocations: 23.19 MB / 1.523 GB, free: 7.801 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/16.08, allocations: 4.047 kB / 1.523 GB, free: 7.797 MB / 1.217 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 22.782763409079053]