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.001509/0.001509, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001877/0.001877, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.961 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.409/3.409, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.002038/0.002038, allocations: 67 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3561, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2103/0.5664, allocations: 169.7 MB / 1.519 GB, free: 14.07 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02021/0.5866, allocations: 8.059 MB / 1.526 GB, free: 5.98 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002584/0.5892, allocations: 47.62 kB / 1.527 GB, free: 5.934 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.591, allocations: 416.9 kB / 1.527 GB, free: 5.523 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005568/0.5966, allocations: 1.38 MB / 1.528 GB, free: 4.141 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00429/0.6009, allocations: 1.234 MB / 1.529 GB, free: 2.914 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004557/0.6055, allocations: 2.414 MB / 1.532 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002384/0.6078, allocations: 0.985 MB / 1.533 GB, free: 15.48 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/0.6101, allocations: 0.8953 MB / 1.534 GB, free: 14.59 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/0.6131, allocations: 0.8251 MB / 1.534 GB, free: 13.76 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0004915/0.6136, allocations: 152 kB / 1.535 GB, free: 13.61 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003395/0.617, allocations: 1.209 MB / 1.536 GB, free: 12.4 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006175/0.6176, allocations: 446.6 kB / 1.536 GB, free: 11.96 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.6189, allocations: 0.7852 MB / 1.537 GB, free: 11.18 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.006103/0.625, allocations: 2.467 MB / 1.539 GB, free: 8.699 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.625, allocations: 0 / 1.539 GB, free: 8.699 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.744e-06/0.625, allocations: 0 / 1.539 GB, free: 8.699 MB / 1.232 GB Notification: Performance of Transformations before backend: time 4.874e-05/0.6251, allocations: 0 / 1.539 GB, free: 8.699 MB / 1.232 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.004657/0.6297, allocations: 1.891 MB / 1.541 GB, free: 6.766 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.6298, allocations: 12.03 kB / 1.541 GB, free: 6.754 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002804/0.63, allocations: 164.9 kB / 1.541 GB, free: 6.582 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/0.6327, allocations: 382.6 kB / 1.542 GB, free: 6.207 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.6354, allocations: 0.9552 MB / 1.543 GB, free: 5.215 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.6355, allocations: 82.2 kB / 1.543 GB, free: 5.133 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/0.6357, allocations: 112 kB / 1.543 GB, free: 5.023 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.6382, allocations: 1.172 MB / 1.544 GB, free: 3.781 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.6383, allocations: 0 / 1.544 GB, free: 3.781 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.6384, allocations: 55.97 kB / 1.544 GB, free: 3.727 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.478e-05/0.6384, allocations: 46 kB / 1.544 GB, free: 3.68 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/0.641, allocations: 1.304 MB / 1.545 GB, free: 2.367 MB / 1.232 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.007349/0.6483, allocations: 3.826 MB / 1.549 GB, free: 14.32 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.6504, allocations: 0.9497 MB / 1.55 GB, free: 13.37 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006988/0.6511, allocations: 371.6 kB / 1.55 GB, free: 13 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.6512, allocations: 29.03 kB / 1.55 GB, free: 12.97 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/0.6523, allocations: 0.6029 MB / 1.551 GB, free: 12.35 MB / 1.248 GB Notification: Performance of pre-optimization done (n=102): time 2.565e-06/0.6523, allocations: 0 / 1.551 GB, free: 12.35 MB / 1.248 GB Notification: Performance of matching and sorting (n=102): time 0.004063/0.6564, allocations: 1.371 MB / 1.552 GB, free: 10.97 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.6565, allocations: 192.9 kB / 1.553 GB, free: 10.74 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.6579, allocations: 0.8586 MB / 1.553 GB, free: 9.859 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.658, allocations: 53.7 kB / 1.553 GB, free: 9.801 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.00053/0.6585, allocations: 0.5402 MB / 1.554 GB, free: 9.254 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/0.6589, allocations: 349 kB / 1.554 GB, free: 8.91 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/0.6592, allocations: 182.6 kB / 1.555 GB, free: 8.727 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.6594, allocations: 345.9 kB / 1.555 GB, free: 8.383 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006711/0.6601, allocations: 317.8 kB / 1.555 GB, free: 8.07 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008154/0.6609, allocations: 479.6 kB / 1.556 GB, free: 7.559 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.6623, allocations: 0.7737 MB / 1.556 GB, free: 6.754 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.6623, allocations: 3.938 kB / 1.556 GB, free: 6.75 MB / 1.248 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002539/0.6648, allocations: 1.032 MB / 1.557 GB, free: 5.707 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.6649, allocations: 8 kB / 1.557 GB, free: 5.699 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.6649, allocations: 0 / 1.557 GB, free: 5.699 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006494/0.6655, allocations: 85 kB / 1.557 GB, free: 5.613 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008593/0.6664, allocations: 207.7 kB / 1.558 GB, free: 5.41 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.6687, allocations: 1.531 MB / 1.559 GB, free: 3.754 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.6698, allocations: 113.2 kB / 1.559 GB, free: 3.645 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.071e-05/0.6699, allocations: 39.98 kB / 1.559 GB, free: 3.605 MB / 1.248 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.0006516/0.6705, allocations: 313.6 kB / 1.56 GB, free: 3.289 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.6708, allocations: 123.2 kB / 1.56 GB, free: 3.168 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/0.6737, allocations: 1.248 MB / 1.561 GB, free: 1.906 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.6737, allocations: 8 kB / 1.561 GB, free: 1.898 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6737, allocations: 4 kB / 1.561 GB, free: 1.895 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.6738, allocations: 7.984 kB / 1.561 GB, free: 1.887 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.6757, allocations: 1.161 MB / 1.562 GB, free: 0.6836 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.6757, allocations: 4 kB / 1.562 GB, free: 0.6797 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009868/0.6767, allocations: 207.7 kB / 1.562 GB, free: 488 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005152/0.6772, allocations: 72.78 kB / 1.562 GB, free: 412 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/0.6774, allocations: 35.97 kB / 1.562 GB, free: 376 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/0.6796, allocations: 1.551 MB / 1.564 GB, free: 14.7 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6796, allocations: 0 / 1.564 GB, free: 14.7 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003705/0.6833, allocations: 1.594 MB / 1.565 GB, free: 13.08 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007276/0.6841, allocations: 246.9 kB / 1.566 GB, free: 12.84 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/0.6843, allocations: 31.98 kB / 1.566 GB, free: 12.81 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009123/0.6852, allocations: 66.69 kB / 1.566 GB, free: 12.75 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.6854, allocations: 92.83 kB / 1.566 GB, free: 12.65 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.693e-05/0.6855, allocations: 43.97 kB / 1.566 GB, free: 12.61 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001425/0.687, allocations: 0.5983 MB / 1.567 GB, free: 12 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.4e-07/0.687, allocations: 4 kB / 1.567 GB, free: 12 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001408/0.6884, allocations: 423 kB / 1.567 GB, free: 11.58 MB / 1.264 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.00592/0.6943, allocations: 2.665 MB / 1.57 GB, free: 9.07 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00235/0.6966, allocations: 0.929 MB / 1.57 GB, free: 8.125 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.6966, allocations: 0 / 1.57 GB, free: 8.125 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.6979, allocations: 0.5668 MB / 1.571 GB, free: 7.551 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/0.7002, allocations: 494.1 kB / 1.571 GB, free: 7.09 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/0.716, allocations: 8.327 MB / 1.58 GB, free: 14.58 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.717, allocations: 1.158 MB / 1.581 GB, free: 13.39 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001191/0.7182, allocations: 329.3 kB / 1.581 GB, free: 13.07 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009485/0.7191, allocations: 0.5226 MB / 1.582 GB, free: 12.54 MB / 1.279 GB Notification: Performance of SimCode: time 9.52e-07/0.7191, allocations: 0 / 1.582 GB, free: 12.54 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.871/1.59, allocations: 30.74 MB / 1.612 GB, free: 253.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/17.52, allocations: 11.53 kB / 1.612 GB, free: 253.9 MB / 1.295 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.78720974898897]