Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001699/0.001699, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002177/0.002177, allocations: 215.7 kB / 23.04 MB, free: 5.074 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.653/2.653, allocations: 476.7 MB / 0.7715 GB, free: 4.281 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.SimpleHouse1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.002002/0.002002, allocations: 59.77 kB / 1.118 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3368, allocations: 169.9 MB / 1.284 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007867/0.3447, allocations: 5.219 MB / 1.289 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1885/0.5331, allocations: 154.2 MB / 1.44 GB, free: 3.809 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009745/0.5341, allocations: 23.81 kB / 1.44 GB, free: 3.785 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00085/0.535, allocations: 210 kB / 1.44 GB, free: 3.578 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.5372, allocations: 0.5746 MB / 1.441 GB, free: 3.004 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.5396, allocations: 0.8807 MB / 1.441 GB, free: 2.129 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002093/0.5417, allocations: 1.459 MB / 1.443 GB, free: 0.6641 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009208/0.5426, allocations: 426.2 kB / 1.443 GB, free: 228 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009797/0.5436, allocations: 0.514 MB / 1.444 GB, free: 15.7 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009502/0.5445, allocations: 0.5212 MB / 1.444 GB, free: 15.18 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002951/0.5448, allocations: 120 kB / 1.444 GB, free: 15.06 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.546, allocations: 0.5151 MB / 1.445 GB, free: 14.55 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004047/0.5465, allocations: 311 kB / 1.445 GB, free: 14.25 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008342/0.5473, allocations: 0.583 MB / 1.446 GB, free: 13.66 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.5501, allocations: 1.728 MB / 1.447 GB, free: 11.93 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.5501, allocations: 0 / 1.447 GB, free: 11.93 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5501, allocations: 0 / 1.447 GB, free: 11.93 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.756e-05/0.5502, allocations: 0 / 1.447 GB, free: 11.93 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003478/0.5537, allocations: 1.451 MB / 1.449 GB, free: 10.44 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.5537, allocations: 12.03 kB / 1.449 GB, free: 10.43 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.548e-05/0.5538, allocations: 30.17 kB / 1.449 GB, free: 10.4 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002074/0.554, allocations: 135.6 kB / 1.449 GB, free: 10.26 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.5555, allocations: 236 kB / 1.449 GB, free: 10.03 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.5571, allocations: 0.7254 MB / 1.45 GB, free: 9.273 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.395e-05/0.5572, allocations: 62 kB / 1.45 GB, free: 9.215 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.5573, allocations: 87.98 kB / 1.45 GB, free: 9.129 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.5592, allocations: 0.934 MB / 1.451 GB, free: 8.152 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.5592, allocations: 3.938 kB / 1.451 GB, free: 8.148 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.5593, allocations: 39.98 kB / 1.451 GB, free: 8.109 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.5594, allocations: 20 kB / 1.451 GB, free: 8.09 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.5614, allocations: 1.124 MB / 1.452 GB, free: 6.965 MB / 1.154 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.004972/0.5664, allocations: 2.698 MB / 1.455 GB, free: 4.148 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.568, allocations: 0.7654 MB / 1.456 GB, free: 3.379 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005795/0.5686, allocations: 278.7 kB / 1.456 GB, free: 3.098 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.364e-05/0.5687, allocations: 32.61 kB / 1.456 GB, free: 3.066 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.5697, allocations: 0.4932 MB / 1.456 GB, free: 2.559 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.585e-06/0.5697, allocations: 0 / 1.456 GB, free: 2.559 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.003606/0.5733, allocations: 1.142 MB / 1.457 GB, free: 1.406 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.5735, allocations: 196.6 kB / 1.458 GB, free: 1.172 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.5746, allocations: 0.6607 MB / 1.458 GB, free: 0.5078 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.5747, allocations: 49.64 kB / 1.458 GB, free: 464 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.5751, allocations: 421 kB / 1.459 GB, free: 36 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.5754, allocations: 281.8 kB / 1.459 GB, free: 15.75 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/0.5757, allocations: 154.6 kB / 1.459 GB, free: 15.59 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.5759, allocations: 386.8 kB / 1.46 GB, free: 15.21 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005574/0.5764, allocations: 253.9 kB / 1.46 GB, free: 14.96 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000679/0.5771, allocations: 362.6 kB / 1.46 GB, free: 14.58 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.5783, allocations: 0.5877 MB / 1.461 GB, free: 13.98 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5783, allocations: 0 / 1.461 GB, free: 13.98 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002081/0.5804, allocations: 0.8215 MB / 1.461 GB, free: 13.15 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.5804, allocations: 4.094 kB / 1.461 GB, free: 13.15 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.5804, allocations: 8 kB / 1.461 GB, free: 13.14 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006173/0.581, allocations: 80.77 kB / 1.462 GB, free: 13.06 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/0.5817, allocations: 159.8 kB / 1.462 GB, free: 12.9 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.5839, allocations: 1.533 MB / 1.463 GB, free: 11.25 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007848/0.5847, allocations: 87.55 kB / 1.463 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.511e-05/0.5848, allocations: 27.98 kB / 1.463 GB, free: 11.14 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (89): * Single equations (assignments): 88 * 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.000524/0.5853, allocations: 261.7 kB / 1.464 GB, free: 10.87 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.5856, allocations: 91.44 kB / 1.464 GB, free: 10.78 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.5881, allocations: 1.074 MB / 1.465 GB, free: 9.691 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.5881, allocations: 12 kB / 1.465 GB, free: 9.68 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.5882, allocations: 8 kB / 1.465 GB, free: 9.672 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.5882, allocations: 11.91 kB / 1.465 GB, free: 9.66 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.5895, allocations: 0.9026 MB / 1.466 GB, free: 8.715 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.5895, allocations: 0 / 1.466 GB, free: 8.715 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/0.5901, allocations: 147.8 kB / 1.466 GB, free: 8.57 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/0.5905, allocations: 76.78 kB / 1.466 GB, free: 8.492 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/0.5906, allocations: 23.98 kB / 1.466 GB, free: 8.469 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.5926, allocations: 1.551 MB / 1.467 GB, free: 6.797 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.5926, allocations: 7.938 kB / 1.467 GB, free: 6.789 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002813/0.5954, allocations: 1.336 MB / 1.469 GB, free: 5.43 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000499/0.5959, allocations: 211 kB / 1.469 GB, free: 5.223 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.5961, allocations: 19.94 kB / 1.469 GB, free: 5.203 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006711/0.5967, allocations: 70.02 kB / 1.469 GB, free: 5.137 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.5969, allocations: 76.86 kB / 1.469 GB, free: 5.062 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.367e-05/0.597, allocations: 27.98 kB / 1.469 GB, free: 5.035 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006872/0.5977, allocations: 487 kB / 1.47 GB, free: 4.566 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5977, allocations: 0 / 1.47 GB, free: 4.566 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000942/0.5986, allocations: 331.2 kB / 1.47 GB, free: 4.242 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (93): * Single equations (assignments): 87 * 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.005091/0.6037, allocations: 2.403 MB / 1.472 GB, free: 1.992 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.6055, allocations: 0.7806 MB / 1.473 GB, free: 1.195 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.6055, allocations: 0 / 1.473 GB, free: 1.195 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009856/0.6065, allocations: 0.4885 MB / 1.473 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.608, allocations: 305.7 kB / 1.474 GB, free: 420 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.6201, allocations: 6.464 MB / 1.48 GB, free: 9.793 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007523/0.6209, allocations: 1.037 MB / 1.481 GB, free: 8.73 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008487/0.6217, allocations: 270.8 kB / 1.481 GB, free: 8.461 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006298/0.6224, allocations: 399.3 kB / 1.482 GB, free: 8.07 MB / 1.186 GB Notification: Performance of SimCode: time 6.81e-07/0.6224, allocations: 0 / 1.482 GB, free: 8.07 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08553/0.7079, allocations: 22.94 MB / 1.504 GB, free: 1.379 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.68, allocations: 0 / 1.504 GB, free: 1.379 MB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.254900556989014]