Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001788/0.001788, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002127/0.002127, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.414/1.414, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.793/2.793, allocations: 476 MB / 0.7699 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",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.002181/0.002181, allocations: 68.86 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2805, allocations: 169.9 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006539/0.287, allocations: 4.508 MB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1624/0.4494, allocations: 132.7 MB / 1.416 GB, free: 2.77 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008887/0.4503, allocations: 19.81 kB / 1.417 GB, free: 2.75 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000857/0.4512, allocations: 202.1 kB / 1.417 GB, free: 2.551 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.4534, allocations: 0.5733 MB / 1.417 GB, free: 1.98 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.4557, allocations: 0.8491 MB / 1.418 GB, free: 1.137 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001982/0.4577, allocations: 1.397 MB / 1.419 GB, free: 15.73 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009061/0.4586, allocations: 397.7 kB / 1.42 GB, free: 15.32 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009771/0.4596, allocations: 0.4945 MB / 1.42 GB, free: 14.82 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008819/0.4605, allocations: 465.7 kB / 1.421 GB, free: 14.37 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003107/0.4608, allocations: 116 kB / 1.421 GB, free: 14.25 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.462, allocations: 495.6 kB / 1.421 GB, free: 13.77 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003795/0.4623, allocations: 299 kB / 1.422 GB, free: 13.48 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006711/0.463, allocations: 461.8 kB / 1.422 GB, free: 13.02 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.4657, allocations: 1.687 MB / 1.424 GB, free: 11.33 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.4657, allocations: 4 kB / 1.424 GB, free: 11.33 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4657, allocations: 0 / 1.424 GB, free: 11.33 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.093e-05/0.4657, allocations: 3.938 kB / 1.424 GB, free: 11.32 MB / 1.123 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.003213/0.469, allocations: 1.423 MB / 1.425 GB, free: 9.863 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.469, allocations: 8.031 kB / 1.425 GB, free: 9.855 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000215/0.4692, allocations: 135.3 kB / 1.425 GB, free: 9.715 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.4707, allocations: 228 kB / 1.425 GB, free: 9.492 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.4722, allocations: 0.718 MB / 1.426 GB, free: 8.746 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.503e-05/0.4723, allocations: 65.94 kB / 1.426 GB, free: 8.68 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.4725, allocations: 83.98 kB / 1.426 GB, free: 8.598 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.4744, allocations: 1.159 MB / 1.427 GB, free: 7.336 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.4745, allocations: 4 kB / 1.427 GB, free: 7.332 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.4746, allocations: 39.98 kB / 1.427 GB, free: 7.293 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.4746, allocations: 20 kB / 1.427 GB, free: 7.273 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.4766, allocations: 1.05 MB / 1.429 GB, free: 6.223 MB / 1.123 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.004763/0.4813, allocations: 2.275 MB / 1.431 GB, free: 3.879 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.4829, allocations: 0.7389 MB / 1.431 GB, free: 3.129 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005485/0.4835, allocations: 270.6 kB / 1.432 GB, free: 2.863 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.129e-05/0.4835, allocations: 24.62 kB / 1.432 GB, free: 2.836 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009805/0.4845, allocations: 0.5777 MB / 1.432 GB, free: 2.219 MB / 1.123 GB Notification: Performance of pre-optimization done (n=78): time 3.286e-06/0.4845, allocations: 0 / 1.432 GB, free: 2.219 MB / 1.123 GB Notification: Performance of matching and sorting (n=78): time 0.003335/0.4879, allocations: 1.107 MB / 1.433 GB, free: 1.102 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.488, allocations: 188.6 kB / 1.434 GB, free: 0.875 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.4891, allocations: 0.6645 MB / 1.434 GB, free: 204 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.4892, allocations: 45.7 kB / 1.434 GB, free: 152 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004276/0.4896, allocations: 409.1 kB / 1.435 GB, free: 15.74 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002908/0.4899, allocations: 261.7 kB / 1.435 GB, free: 15.48 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.4902, allocations: 146.6 kB / 1.435 GB, free: 15.34 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.4904, allocations: 394.7 kB / 1.435 GB, free: 14.94 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005669/0.4909, allocations: 241.9 kB / 1.436 GB, free: 14.71 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007667/0.4917, allocations: 491.9 kB / 1.436 GB, free: 14.16 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.4929, allocations: 0.5768 MB / 1.437 GB, free: 13.57 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4929, allocations: 0 / 1.437 GB, free: 13.57 MB / 1.139 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002064/0.4949, allocations: 0.7984 MB / 1.437 GB, free: 12.76 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.495, allocations: 8.125 kB / 1.437 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.495, allocations: 7.984 kB / 1.437 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006414/0.4956, allocations: 80.72 kB / 1.438 GB, free: 12.66 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/0.4962, allocations: 151.8 kB / 1.438 GB, free: 12.52 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.4985, allocations: 1.523 MB / 1.439 GB, free: 10.88 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007749/0.4993, allocations: 87.56 kB / 1.439 GB, free: 10.79 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.4994, allocations: 31.92 kB / 1.439 GB, free: 10.76 MB / 1.139 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.0004994/0.4999, allocations: 273.6 kB / 1.44 GB, free: 10.48 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/0.5001, allocations: 87.44 kB / 1.44 GB, free: 10.39 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.5027, allocations: 1.046 MB / 1.441 GB, free: 9.336 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.5027, allocations: 8 kB / 1.441 GB, free: 9.328 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.5027, allocations: 7.922 kB / 1.441 GB, free: 9.32 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.5027, allocations: 3.984 kB / 1.441 GB, free: 9.316 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.5039, allocations: 0.7469 MB / 1.441 GB, free: 8.527 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.5039, allocations: 3.938 kB / 1.441 GB, free: 8.523 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.5045, allocations: 139.8 kB / 1.442 GB, free: 8.387 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004619/0.505, allocations: 72.78 kB / 1.442 GB, free: 8.312 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.56e-05/0.5051, allocations: 23.98 kB / 1.442 GB, free: 8.289 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.5071, allocations: 1.555 MB / 1.443 GB, free: 6.617 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.5071, allocations: 3.984 kB / 1.443 GB, free: 6.613 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.5093, allocations: 0.9127 MB / 1.444 GB, free: 5.676 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005316/0.5099, allocations: 199.1 kB / 1.444 GB, free: 5.48 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.5101, allocations: 31.88 kB / 1.444 GB, free: 5.449 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006795/0.5107, allocations: 59.94 kB / 1.444 GB, free: 5.391 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/0.511, allocations: 80.8 kB / 1.444 GB, free: 5.312 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-05/0.511, allocations: 27.98 kB / 1.444 GB, free: 5.285 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000785/0.5118, allocations: 487 kB / 1.445 GB, free: 4.812 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5118, allocations: 0 / 1.445 GB, free: 4.812 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001009/0.5128, allocations: 315.2 kB / 1.445 GB, free: 4.504 MB / 1.139 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.004584/0.5174, allocations: 1.995 MB / 1.447 GB, free: 2.688 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001939/0.5194, allocations: 0.7648 MB / 1.448 GB, free: 1.914 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5194, allocations: 0 / 1.448 GB, free: 1.914 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.5204, allocations: 496.4 kB / 1.448 GB, free: 1.418 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.5218, allocations: 303.6 kB / 1.449 GB, free: 1.148 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.5335, allocations: 6.244 MB / 1.455 GB, free: 10.73 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.534, allocations: 436 kB / 1.455 GB, free: 10.27 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008796/0.5349, allocations: 270.6 kB / 1.455 GB, free: 10 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006316/0.5355, allocations: 395.3 kB / 1.456 GB, free: 9.613 MB / 1.154 GB Notification: Performance of SimCode: time 1.142e-06/0.5355, allocations: 0 / 1.456 GB, free: 9.613 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08114/0.6167, allocations: 23.4 MB / 1.479 GB, free: 2.547 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.38, allocations: 8.047 kB / 1.479 GB, free: 2.539 MB / 1.17 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.942186455242336]