Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001389/0.001389, 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.002191/0.002191, allocations: 213.9 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.797 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.278/3.278, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 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.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.002288/0.002288, allocations: 66.28 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3754, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1952/0.5706, allocations: 146.3 MB / 1.506 GB, free: 11.2 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01378/0.5844, allocations: 7.526 MB / 1.514 GB, free: 3.652 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.5859, allocations: 47.62 kB / 1.514 GB, free: 3.605 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.5874, allocations: 397 kB / 1.514 GB, free: 3.215 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004502/0.5919, allocations: 1.372 MB / 1.515 GB, free: 1.84 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00355/0.5955, allocations: 1.215 MB / 1.517 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003583/0.5991, allocations: 2.399 MB / 1.519 GB, free: 14.23 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.601, allocations: 0.9526 MB / 1.52 GB, free: 13.25 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.6028, allocations: 0.8991 MB / 1.521 GB, free: 12.35 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.6048, allocations: 0.7544 MB / 1.521 GB, free: 11.59 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0005585/0.6054, allocations: 152 kB / 1.522 GB, free: 11.45 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002732/0.6081, allocations: 1.018 MB / 1.523 GB, free: 10.43 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007718/0.6089, allocations: 446.5 kB / 1.523 GB, free: 9.988 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.6102, allocations: 0.6415 MB / 1.524 GB, free: 9.344 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004644/0.6148, allocations: 2.448 MB / 1.526 GB, free: 6.887 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6148, allocations: 0 / 1.526 GB, free: 6.887 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6148, allocations: 0 / 1.526 GB, free: 6.887 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.16e-05/0.6149, allocations: 4 kB / 1.526 GB, free: 6.883 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.005033/0.6199, allocations: 1.891 MB / 1.528 GB, free: 4.949 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.62, allocations: 8.031 kB / 1.528 GB, free: 4.941 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002541/0.6202, allocations: 172.9 kB / 1.528 GB, free: 4.762 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002599/0.6228, allocations: 378.6 kB / 1.528 GB, free: 4.391 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.6249, allocations: 0.9629 MB / 1.529 GB, free: 3.391 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.198e-05/0.6249, allocations: 82.19 kB / 1.529 GB, free: 3.309 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.6251, allocations: 108 kB / 1.53 GB, free: 3.203 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.6275, allocations: 1.527 MB / 1.531 GB, free: 1.52 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/0.6276, allocations: 0 / 1.531 GB, free: 1.52 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.6277, allocations: 44 kB / 1.531 GB, free: 1.477 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.174e-05/0.6277, allocations: 42.06 kB / 1.531 GB, free: 1.434 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.63, allocations: 1.269 MB / 1.532 GB, free: 160 kB / 1.217 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.005469/0.6354, allocations: 2.907 MB / 1.535 GB, free: 13.17 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.6372, allocations: 0.9355 MB / 1.536 GB, free: 12.23 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006774/0.6379, allocations: 379.6 kB / 1.536 GB, free: 11.86 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 8.234e-05/0.638, allocations: 24.97 kB / 1.537 GB, free: 11.83 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/0.6392, allocations: 0.7844 MB / 1.537 GB, free: 10.98 MB / 1.232 GB Notification: Performance of pre-optimization done (n=102): time 2.806e-06/0.6392, allocations: 0 / 1.537 GB, free: 10.98 MB / 1.232 GB Notification: Performance of matching and sorting (n=102): time 0.003769/0.6429, allocations: 1.375 MB / 1.539 GB, free: 9.598 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.6431, allocations: 188.9 kB / 1.539 GB, free: 9.367 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.6444, allocations: 0.8664 MB / 1.54 GB, free: 8.477 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 8.695e-05/0.6444, allocations: 49.7 kB / 1.54 GB, free: 8.422 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005166/0.645, allocations: 0.5402 MB / 1.54 GB, free: 7.875 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003407/0.6453, allocations: 361 kB / 1.541 GB, free: 7.52 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002919/0.6456, allocations: 182.6 kB / 1.541 GB, free: 7.336 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.6458, allocations: 341.9 kB / 1.541 GB, free: 6.996 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006357/0.6464, allocations: 313.8 kB / 1.541 GB, free: 6.691 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008702/0.6473, allocations: 0.59 MB / 1.542 GB, free: 6.023 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.6487, allocations: 0.7737 MB / 1.543 GB, free: 5.223 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.6487, allocations: 0 / 1.543 GB, free: 5.223 MB / 1.232 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002372/0.6511, allocations: 1.04 MB / 1.544 GB, free: 4.168 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.6511, allocations: 11.94 kB / 1.544 GB, free: 4.156 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.6511, allocations: 4 kB / 1.544 GB, free: 4.152 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006089/0.6517, allocations: 80.84 kB / 1.544 GB, free: 4.07 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008411/0.6525, allocations: 207.7 kB / 1.544 GB, free: 3.867 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.6548, allocations: 1.53 MB / 1.546 GB, free: 2.223 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009949/0.6558, allocations: 111.4 kB / 1.546 GB, free: 2.113 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.553e-05/0.6558, allocations: 39.98 kB / 1.546 GB, free: 2.074 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.0006091/0.6565, allocations: 315.9 kB / 1.546 GB, free: 1.758 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.6567, allocations: 119.2 kB / 1.546 GB, free: 1.641 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/0.6594, allocations: 1.252 MB / 1.547 GB, free: 384 kB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.6594, allocations: 12 kB / 1.547 GB, free: 372 kB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.6594, allocations: 0 / 1.547 GB, free: 372 kB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.6595, allocations: 7.969 kB / 1.547 GB, free: 364 kB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.6609, allocations: 0.97 MB / 1.548 GB, free: 15.34 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.6609, allocations: 3.984 kB / 1.548 GB, free: 15.34 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008696/0.6618, allocations: 203.7 kB / 1.548 GB, free: 15.14 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004416/0.6623, allocations: 76.78 kB / 1.549 GB, free: 15.06 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/0.6623, allocations: 27.98 kB / 1.549 GB, free: 15.04 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.6643, allocations: 1.555 MB / 1.55 GB, free: 13.36 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6643, allocations: 0 / 1.55 GB, free: 13.36 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/0.6675, allocations: 1.586 MB / 1.552 GB, free: 11.75 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006271/0.6681, allocations: 250.8 kB / 1.552 GB, free: 11.51 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.6683, allocations: 31.98 kB / 1.552 GB, free: 11.48 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008078/0.6691, allocations: 65.5 kB / 1.552 GB, free: 11.41 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.6692, allocations: 88.83 kB / 1.552 GB, free: 11.33 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.294e-05/0.6693, allocations: 43.97 kB / 1.552 GB, free: 11.29 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008952/0.6702, allocations: 0.6022 MB / 1.553 GB, free: 10.67 MB / 1.248 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6702, allocations: 0 / 1.553 GB, free: 10.67 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001121/0.6713, allocations: 431 kB / 1.553 GB, free: 10.25 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.005622/0.677, allocations: 2.678 MB / 1.556 GB, free: 7.75 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00211/0.6791, allocations: 0.9443 MB / 1.557 GB, free: 6.789 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.6791, allocations: 0 / 1.557 GB, free: 6.789 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.6802, allocations: 0.5632 MB / 1.557 GB, free: 6.215 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.6823, allocations: 0.4911 MB / 1.558 GB, free: 5.746 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/0.6969, allocations: 8.327 MB / 1.566 GB, free: 13.23 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/0.6976, allocations: 0.5676 MB / 1.566 GB, free: 12.63 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001273/0.6989, allocations: 321.3 kB / 1.567 GB, free: 12.32 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008435/0.6997, allocations: 0.5227 MB / 1.567 GB, free: 11.8 MB / 1.264 GB Notification: Performance of SimCode: time 1.282e-06/0.6997, allocations: 0 / 1.567 GB, free: 11.8 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08374/0.7834, allocations: 32.31 MB / 1.599 GB, free: 11.92 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/15.35, allocations: 4 kB / 1.599 GB, free: 11.91 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.958749247714877]