Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001596/0.001596, 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.00212/0.00212, allocations: 217.5 kB / 22.25 MB, free: 5.117 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.973 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.199/3.199, 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.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.002432/0.002432, allocations: 70.17 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3475, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007749/0.3553, allocations: 5.336 MB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.185/0.5402, allocations: 154.2 MB / 1.509 GB, free: 8.293 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.5413, allocations: 23.81 kB / 1.509 GB, free: 8.27 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.5423, allocations: 202.1 kB / 1.509 GB, free: 8.07 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.5448, allocations: 0.5953 MB / 1.509 GB, free: 7.477 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.5472, allocations: 0.8886 MB / 1.51 GB, free: 6.594 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002187/0.5494, allocations: 1.478 MB / 1.512 GB, free: 5.109 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009556/0.5503, allocations: 443.9 kB / 1.512 GB, free: 4.648 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009367/0.5513, allocations: 0.5217 MB / 1.513 GB, free: 4.125 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008863/0.5522, allocations: 0.529 MB / 1.513 GB, free: 3.594 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002831/0.5524, allocations: 124 kB / 1.513 GB, free: 3.473 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.5536, allocations: 0.5113 MB / 1.514 GB, free: 2.961 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003932/0.554, allocations: 322.9 kB / 1.514 GB, free: 2.645 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008093/0.5548, allocations: 0.6025 MB / 1.515 GB, free: 2.039 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002594/0.5574, allocations: 1.747 MB / 1.516 GB, free: 292 kB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5574, allocations: 0 / 1.516 GB, free: 292 kB / 1.201 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5574, allocations: 3.938 kB / 1.516 GB, free: 288 kB / 1.201 GB Notification: Performance of Transformations before backend: time 4.662e-05/0.5575, allocations: 0 / 1.516 GB, free: 288 kB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003615/0.5611, allocations: 1.484 MB / 1.518 GB, free: 14.76 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.5611, allocations: 8.031 kB / 1.518 GB, free: 14.75 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002229/0.5613, allocations: 143.7 kB / 1.518 GB, free: 14.61 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.5629, allocations: 236 kB / 1.518 GB, free: 14.38 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.5645, allocations: 0.7374 MB / 1.519 GB, free: 13.61 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.275e-05/0.5645, allocations: 66 kB / 1.519 GB, free: 13.54 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.5647, allocations: 88 kB / 1.519 GB, free: 13.46 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.5665, allocations: 0.9496 MB / 1.52 GB, free: 12.47 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.5665, allocations: 3.938 kB / 1.52 GB, free: 12.46 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.232e-05/0.5666, allocations: 39.98 kB / 1.52 GB, free: 12.43 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.5666, allocations: 20 kB / 1.52 GB, free: 12.41 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.5686, allocations: 1.136 MB / 1.521 GB, free: 11.27 MB / 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.00483/0.5734, allocations: 2.82 MB / 1.524 GB, free: 8.312 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.5751, allocations: 0.7992 MB / 1.525 GB, free: 7.504 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005779/0.5756, allocations: 302.6 kB / 1.525 GB, free: 7.207 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.16e-05/0.5757, allocations: 34.75 kB / 1.525 GB, free: 7.176 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009283/0.5767, allocations: 0.5042 MB / 1.526 GB, free: 6.652 MB / 1.217 GB Notification: Performance of pre-optimization done (n=85): time 2.755e-06/0.5767, allocations: 0 / 1.526 GB, free: 6.652 MB / 1.217 GB Notification: Performance of matching and sorting (n=85): time 0.003472/0.5801, allocations: 1.184 MB / 1.527 GB, free: 5.465 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.5803, allocations: 192.9 kB / 1.527 GB, free: 5.234 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009974/0.5813, allocations: 0.6686 MB / 1.528 GB, free: 4.559 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-05/0.5814, allocations: 45.69 kB / 1.528 GB, free: 4.508 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/0.5817, allocations: 429 kB / 1.528 GB, free: 4.082 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/0.582, allocations: 289.6 kB / 1.528 GB, free: 3.797 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.5823, allocations: 154.6 kB / 1.528 GB, free: 3.637 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.5825, allocations: 386.8 kB / 1.529 GB, free: 3.25 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/0.583, allocations: 257.9 kB / 1.529 GB, free: 3 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/0.5837, allocations: 378.5 kB / 1.529 GB, free: 2.605 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.5849, allocations: 0.6008 MB / 1.53 GB, free: 1.992 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5849, allocations: 3.938 kB / 1.53 GB, free: 1.988 MB / 1.217 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002139/0.587, allocations: 0.8452 MB / 1.531 GB, free: 1.133 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.587, allocations: 5.969 kB / 1.531 GB, free: 1.129 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.5871, allocations: 4 kB / 1.531 GB, free: 1.125 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/0.5877, allocations: 80.77 kB / 1.531 GB, free: 1.043 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/0.5884, allocations: 171.7 kB / 1.531 GB, free: 0.875 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.5909, allocations: 1.527 MB / 1.533 GB, free: 15.22 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/0.5917, allocations: 91.66 kB / 1.533 GB, free: 15.13 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.76e-05/0.5917, allocations: 31.98 kB / 1.533 GB, free: 15.1 MB / 1.232 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 (92): * Single equations (assignments): 91 * 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.0005552/0.5923, allocations: 265.7 kB / 1.533 GB, free: 14.83 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.5926, allocations: 95.39 kB / 1.533 GB, free: 14.74 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/0.5952, allocations: 1.098 MB / 1.534 GB, free: 13.63 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.5953, allocations: 12 kB / 1.534 GB, free: 13.62 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5953, allocations: 4 kB / 1.534 GB, free: 13.62 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.5953, allocations: 3.984 kB / 1.534 GB, free: 13.61 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.5966, allocations: 0.9183 MB / 1.535 GB, free: 12.65 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.5966, allocations: 11.92 kB / 1.535 GB, free: 12.64 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006682/0.5973, allocations: 159.7 kB / 1.535 GB, free: 12.48 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004857/0.5978, allocations: 72.78 kB / 1.535 GB, free: 12.41 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.611e-05/0.5979, allocations: 23.98 kB / 1.535 GB, free: 12.38 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.5999, allocations: 1.555 MB / 1.537 GB, free: 10.71 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.5999, allocations: 4.031 kB / 1.537 GB, free: 10.7 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003009/0.6029, allocations: 1.368 MB / 1.538 GB, free: 9.316 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005337/0.6035, allocations: 215 kB / 1.538 GB, free: 9.105 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.6037, allocations: 24 kB / 1.538 GB, free: 9.082 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006845/0.6043, allocations: 61.69 kB / 1.538 GB, free: 9.023 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.6045, allocations: 80.84 kB / 1.538 GB, free: 8.945 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-05/0.6046, allocations: 31.98 kB / 1.539 GB, free: 8.914 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007482/0.6053, allocations: 495 kB / 1.539 GB, free: 8.434 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6053, allocations: 0 / 1.539 GB, free: 8.434 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001073/0.6064, allocations: 331.2 kB / 1.539 GB, free: 8.109 MB / 1.232 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 (96): * Single equations (assignments): 90 * 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.005245/0.6117, allocations: 2.433 MB / 1.542 GB, free: 5.824 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001949/0.6136, allocations: 0.7885 MB / 1.542 GB, free: 5.02 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6136, allocations: 4 kB / 1.542 GB, free: 5.016 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.6147, allocations: 0.5041 MB / 1.543 GB, free: 4.5 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.6161, allocations: 315.7 kB / 1.543 GB, free: 4.211 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.6294, allocations: 6.624 MB / 1.55 GB, free: 13.43 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008693/0.6303, allocations: 1.043 MB / 1.551 GB, free: 12.36 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009535/0.6312, allocations: 267 kB / 1.551 GB, free: 12.1 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006777/0.6319, allocations: 411.3 kB / 1.551 GB, free: 11.7 MB / 1.248 GB Notification: Performance of SimCode: time 9.62e-07/0.6319, allocations: 0 / 1.551 GB, free: 11.7 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07266/0.7046, allocations: 23.25 MB / 1.574 GB, free: 4.637 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.36, allocations: 8 kB / 1.574 GB, free: 4.629 MB / 1.264 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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: 23.270982563029975]