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.001332/0.001332, allocations: 115.6 kB / 17.17 MB, free: 5.98 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.001475/0.001475, allocations: 218.3 kB / 20.13 MB, free: 3.039 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.496/1.496, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.181/3.181, allocations: 0.5003 GB / 0.8026 GB, free: 6.859 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.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.002137/0.002137, allocations: 59.91 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9849/0.987, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2484/1.235, allocations: 169.6 MB / 1.506 GB, free: 14.66 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01835/1.254, allocations: 7.927 MB / 1.513 GB, free: 6.707 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/1.256, allocations: 43.69 kB / 1.514 GB, free: 6.664 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002186/1.258, allocations: 416.9 kB / 1.514 GB, free: 6.254 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005639/1.264, allocations: 1.366 MB / 1.515 GB, free: 4.883 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004001/1.268, allocations: 1.189 MB / 1.516 GB, free: 3.703 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004722/1.273, allocations: 2.383 MB / 1.519 GB, free: 1.312 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/1.275, allocations: 0.9911 MB / 1.52 GB, free: 308 kB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/1.278, allocations: 0.8953 MB / 1.521 GB, free: 15.4 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/1.28, allocations: 0.8145 MB / 1.521 GB, free: 14.59 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0006094/1.28, allocations: 152 kB / 1.522 GB, free: 14.44 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00318/1.284, allocations: 1.197 MB / 1.523 GB, free: 13.24 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007851/1.284, allocations: 442.6 kB / 1.523 GB, free: 12.8 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001477/1.286, allocations: 0.7929 MB / 1.524 GB, free: 12.01 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006626/1.292, allocations: 2.467 MB / 1.526 GB, free: 9.531 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.954e-06/1.292, allocations: 0 / 1.526 GB, free: 9.531 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.144e-06/1.292, allocations: 3.938 kB / 1.526 GB, free: 9.527 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.084e-05/1.293, allocations: 4 kB / 1.526 GB, free: 9.523 MB / 1.201 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.005279/1.298, allocations: 1.958 MB / 1.528 GB, free: 7.5 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/1.298, allocations: 12.02 kB / 1.528 GB, free: 7.488 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.174e-05/1.298, allocations: 34.2 kB / 1.528 GB, free: 7.453 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000302/1.298, allocations: 169 kB / 1.528 GB, free: 7.277 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002981/1.301, allocations: 374.6 kB / 1.529 GB, free: 6.91 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/1.304, allocations: 1.043 MB / 1.53 GB, free: 5.824 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/1.304, allocations: 82.2 kB / 1.53 GB, free: 5.742 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003011/1.304, allocations: 115.9 kB / 1.53 GB, free: 5.629 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/1.307, allocations: 1.168 MB / 1.531 GB, free: 4.391 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/1.307, allocations: 0 / 1.531 GB, free: 4.391 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/1.307, allocations: 51.94 kB / 1.531 GB, free: 4.34 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.768e-05/1.307, allocations: 46.11 kB / 1.531 GB, free: 4.293 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/1.31, allocations: 1.308 MB / 1.532 GB, free: 2.977 MB / 1.201 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.008156/1.318, allocations: 3.899 MB / 1.536 GB, free: 14.85 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/1.32, allocations: 0.9418 MB / 1.537 GB, free: 13.91 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007937/1.321, allocations: 369.4 kB / 1.538 GB, free: 13.55 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/1.321, allocations: 37.02 kB / 1.538 GB, free: 13.51 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001208/1.322, allocations: 0.5875 MB / 1.538 GB, free: 12.91 MB / 1.217 GB Notification: Performance of pre-optimization done (n=102): time 3.366e-06/1.322, allocations: 0 / 1.538 GB, free: 12.91 MB / 1.217 GB Notification: Performance of matching and sorting (n=102): time 0.004361/1.327, allocations: 1.45 MB / 1.54 GB, free: 11.43 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/1.327, allocations: 196.9 kB / 1.54 GB, free: 11.19 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/1.329, allocations: 0.8586 MB / 1.541 GB, free: 10.31 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002482/1.329, allocations: 49.7 kB / 1.541 GB, free: 10.25 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006345/1.329, allocations: 0.5402 MB / 1.541 GB, free: 9.707 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005391/1.33, allocations: 352.9 kB / 1.542 GB, free: 9.359 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003774/1.33, allocations: 182.6 kB / 1.542 GB, free: 9.176 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001968/1.331, allocations: 341.9 kB / 1.542 GB, free: 8.836 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007637/1.331, allocations: 321.8 kB / 1.542 GB, free: 8.52 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008854/1.332, allocations: 471.7 kB / 1.543 GB, free: 8.016 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/1.334, allocations: 0.7775 MB / 1.544 GB, free: 7.211 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/1.334, allocations: 0 / 1.544 GB, free: 7.211 MB / 1.217 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002874/1.337, allocations: 1.029 MB / 1.545 GB, free: 6.168 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/1.337, allocations: 4 kB / 1.545 GB, free: 6.164 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.337, allocations: 8.219 kB / 1.545 GB, free: 6.156 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006412/1.337, allocations: 84.72 kB / 1.545 GB, free: 6.07 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009913/1.338, allocations: 211.7 kB / 1.545 GB, free: 5.863 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/1.341, allocations: 1.64 MB / 1.546 GB, free: 4.082 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/1.342, allocations: 107.5 kB / 1.547 GB, free: 3.977 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/1.342, allocations: 35.98 kB / 1.547 GB, free: 3.941 MB / 1.217 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.000775/1.343, allocations: 321.5 kB / 1.547 GB, free: 3.617 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/1.344, allocations: 123.2 kB / 1.547 GB, free: 3.496 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003154/1.347, allocations: 1.244 MB / 1.548 GB, free: 2.238 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/1.347, allocations: 12 kB / 1.548 GB, free: 2.227 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.347, allocations: 4 kB / 1.548 GB, free: 2.223 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/1.347, allocations: 3.984 kB / 1.548 GB, free: 2.219 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/1.349, allocations: 1.181 MB / 1.549 GB, free: 0.9883 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-05/1.349, allocations: 4 kB / 1.549 GB, free: 0.9844 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009637/1.35, allocations: 207.7 kB / 1.55 GB, free: 0.7812 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005235/1.35, allocations: 76.77 kB / 1.55 GB, free: 0.7031 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/1.351, allocations: 35.97 kB / 1.55 GB, free: 0.668 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/1.353, allocations: 1.659 MB / 1.551 GB, free: 14.87 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.353, allocations: 0 / 1.551 GB, free: 14.87 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003733/1.357, allocations: 1.578 MB / 1.553 GB, free: 13.27 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007816/1.357, allocations: 332 kB / 1.553 GB, free: 12.92 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/1.358, allocations: 27.98 kB / 1.553 GB, free: 12.89 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009222/1.359, allocations: 67.94 kB / 1.553 GB, free: 12.83 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/1.359, allocations: 84.81 kB / 1.553 GB, free: 12.75 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.801e-05/1.359, allocations: 47.91 kB / 1.553 GB, free: 12.7 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00117/1.36, allocations: 0.6022 MB / 1.554 GB, free: 12.09 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.1e-08/1.36, allocations: 0 / 1.554 GB, free: 12.09 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0016/1.362, allocations: 427 kB / 1.554 GB, free: 11.67 MB / 1.232 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.005979/1.368, allocations: 2.657 MB / 1.557 GB, free: 9.16 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002536/1.37, allocations: 0.9287 MB / 1.558 GB, free: 8.219 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.37, allocations: 0.5625 kB / 1.558 GB, free: 8.219 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/1.371, allocations: 0.5665 MB / 1.558 GB, free: 7.641 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/1.374, allocations: 0.4905 MB / 1.559 GB, free: 7.172 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/1.392, allocations: 8.313 MB / 1.567 GB, free: 14.67 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/1.393, allocations: 1.162 MB / 1.568 GB, free: 13.48 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001383/1.394, allocations: 337.2 kB / 1.569 GB, free: 13.15 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009586/1.395, allocations: 0.5188 MB / 1.569 GB, free: 12.64 MB / 1.248 GB Notification: Performance of SimCode: time 1.403e-06/1.395, allocations: 0 / 1.569 GB, free: 12.64 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07736/1.472, allocations: 30.07 MB / 1.598 GB, free: 14.89 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.87/17.34, allocations: 15.84 kB / 1.598 GB, free: 14.88 MB / 1.279 GB " [Timeout remaining time 282] (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: 24.49594208301278]