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.001853/0.001853, allocations: 116.1 kB / 17.17 MB, free: 6 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.002353/0.002353, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.482/1.482, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.903/2.903, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 GB " [Timeout remaining time 176] 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.002823/0.002823, allocations: 68.08 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8871/0.8899, allocations: 178.9 MB / 1.34 GB, free: 16.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005718/0.8956, allocations: 5.002 MB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1903/1.086, allocations: 154 MB / 1.495 GB, free: 8.223 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/1.087, allocations: 24.06 kB / 1.495 GB, free: 8.211 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007107/1.088, allocations: 194.9 kB / 1.496 GB, free: 8.039 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002164/1.09, allocations: 0.5609 MB / 1.496 GB, free: 7.621 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002355/1.092, allocations: 0.8562 MB / 1.497 GB, free: 6.973 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00199/1.094, allocations: 1.395 MB / 1.498 GB, free: 6.102 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007892/1.095, allocations: 415.6 kB / 1.499 GB, free: 5.758 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009269/1.096, allocations: 0.5022 MB / 1.499 GB, free: 5.254 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006856/1.097, allocations: 0.5018 MB / 1.5 GB, free: 4.75 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/1.097, allocations: 116 kB / 1.5 GB, free: 4.637 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/1.098, allocations: 0.5074 MB / 1.5 GB, free: 4.129 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002933/1.098, allocations: 303 kB / 1.501 GB, free: 3.832 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005609/1.099, allocations: 0.5596 MB / 1.501 GB, free: 3.27 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002497/1.101, allocations: 1.665 MB / 1.503 GB, free: 1.598 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.101, allocations: 0 / 1.503 GB, free: 1.598 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.663e-06/1.101, allocations: 0 / 1.503 GB, free: 1.598 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.608e-05/1.101, allocations: 0 / 1.503 GB, free: 1.598 MB / 1.17 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.002715/1.104, allocations: 1.498 MB / 1.504 GB, free: 48 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/1.104, allocations: 12.03 kB / 1.504 GB, free: 36 kB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.314e-05/1.104, allocations: 26.19 kB / 1.504 GB, free: 12 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/1.104, allocations: 139.2 kB / 1.504 GB, free: 15.87 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/1.106, allocations: 228 kB / 1.505 GB, free: 15.64 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/1.107, allocations: 0.7783 MB / 1.505 GB, free: 14.82 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.628e-05/1.107, allocations: 66 kB / 1.505 GB, free: 14.76 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/1.107, allocations: 76 kB / 1.506 GB, free: 14.68 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/1.109, allocations: 0.9114 MB / 1.506 GB, free: 13.73 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/1.109, allocations: 0 / 1.506 GB, free: 13.73 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-05/1.109, allocations: 39.98 kB / 1.506 GB, free: 13.69 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/1.109, allocations: 24 kB / 1.506 GB, free: 13.67 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/1.111, allocations: 1.093 MB / 1.508 GB, free: 12.57 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.004348/1.115, allocations: 2.847 MB / 1.51 GB, free: 9.59 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/1.117, allocations: 0.7308 MB / 1.511 GB, free: 8.859 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/1.117, allocations: 274.7 kB / 1.511 GB, free: 8.59 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.116e-05/1.117, allocations: 32.59 kB / 1.511 GB, free: 8.559 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000864/1.118, allocations: 491.8 kB / 1.512 GB, free: 8.059 MB / 1.186 GB Notification: Performance of pre-optimization done (n=78): time 2.345e-06/1.118, allocations: 0 / 1.512 GB, free: 8.059 MB / 1.186 GB Notification: Performance of matching and sorting (n=78): time 0.003254/1.121, allocations: 1.182 MB / 1.513 GB, free: 6.852 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/1.122, allocations: 192.6 kB / 1.513 GB, free: 6.617 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008854/1.122, allocations: 0.6568 MB / 1.514 GB, free: 5.949 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.965e-05/1.123, allocations: 37.7 kB / 1.514 GB, free: 5.906 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/1.123, allocations: 420.9 kB / 1.514 GB, free: 5.488 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/1.123, allocations: 261.8 kB / 1.514 GB, free: 5.23 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/1.123, allocations: 146.6 kB / 1.515 GB, free: 5.078 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001948/1.124, allocations: 386.7 kB / 1.515 GB, free: 4.691 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005062/1.124, allocations: 241.9 kB / 1.515 GB, free: 4.457 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006237/1.125, allocations: 359.4 kB / 1.516 GB, free: 4.078 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/1.126, allocations: 0.5846 MB / 1.516 GB, free: 3.48 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.126, allocations: 0 / 1.516 GB, free: 3.48 MB / 1.186 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001922/1.128, allocations: 0.7945 MB / 1.517 GB, free: 2.68 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.128, allocations: 4 kB / 1.517 GB, free: 2.676 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/1.128, allocations: 4 kB / 1.517 GB, free: 2.672 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006202/1.128, allocations: 88.83 kB / 1.517 GB, free: 2.582 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006087/1.129, allocations: 143.8 kB / 1.517 GB, free: 2.441 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/1.131, allocations: 1.642 MB / 1.519 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007673/1.132, allocations: 87.53 kB / 1.519 GB, free: 0.5625 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.031e-05/1.132, allocations: 32.05 kB / 1.519 GB, free: 0.5312 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.0004987/1.133, allocations: 281 kB / 1.519 GB, free: 256 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/1.133, allocations: 87.44 kB / 1.519 GB, free: 168 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/1.135, allocations: 1.05 MB / 1.52 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/1.135, allocations: 15.94 kB / 1.52 GB, free: 15.08 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.135, allocations: 0 / 1.52 GB, free: 15.08 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.135, allocations: 7.922 kB / 1.52 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/1.137, allocations: 0.8919 MB / 1.521 GB, free: 14.13 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/1.137, allocations: 3.984 kB / 1.521 GB, free: 14.13 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005686/1.137, allocations: 139.8 kB / 1.521 GB, free: 13.99 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004478/1.138, allocations: 72.78 kB / 1.521 GB, free: 13.92 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-05/1.138, allocations: 27.97 kB / 1.521 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/1.14, allocations: 1.647 MB / 1.523 GB, free: 12.1 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.14, allocations: 0 / 1.523 GB, free: 12.1 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/1.142, allocations: 0.9206 MB / 1.524 GB, free: 11.16 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/1.142, allocations: 284.2 kB / 1.524 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/1.142, allocations: 23.94 kB / 1.524 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006207/1.143, allocations: 65.61 kB / 1.524 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.143, allocations: 72.84 kB / 1.524 GB, free: 10.7 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-05/1.143, allocations: 40.03 kB / 1.524 GB, free: 10.66 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006699/1.144, allocations: 479 kB / 1.525 GB, free: 10.2 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/1.144, allocations: 0 / 1.525 GB, free: 10.2 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008846/1.145, allocations: 315.2 kB / 1.525 GB, free: 9.891 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.004317/1.149, allocations: 1.966 MB / 1.527 GB, free: 8.078 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001883/1.151, allocations: 0.7612 MB / 1.528 GB, free: 7.305 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.151, allocations: 0 / 1.528 GB, free: 7.305 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009721/1.152, allocations: 496.2 kB / 1.528 GB, free: 6.809 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/1.153, allocations: 293.5 kB / 1.528 GB, free: 6.543 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/1.165, allocations: 6.254 MB / 1.535 GB, free: 124 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007105/1.166, allocations: 1.027 MB / 1.536 GB, free: 15.07 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009462/1.166, allocations: 266.6 kB / 1.536 GB, free: 14.8 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006035/1.167, allocations: 403.3 kB / 1.536 GB, free: 14.41 MB / 1.217 GB Notification: Performance of SimCode: time 1.132e-06/1.167, allocations: 0 / 1.536 GB, free: 14.41 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05826/1.225, allocations: 21.88 MB / 1.558 GB, free: 8.793 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/15.2, allocations: 11.8 kB / 1.558 GB, free: 8.781 MB / 1.232 GB " [Timeout remaining time 285] (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: 21.77710272697732]