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.001491/0.001491, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001516/0.001516, allocations: 215 kB / 20.13 MB, free: 2.949 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.421/1.421, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.847/2.847, allocations: 0.5003 GB / 0.8026 GB, free: 6.902 MB / 0.6387 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.001908/0.001908, allocations: 63.89 kB / 1.165 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8664/0.8683, allocations: 179 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005694/0.874, allocations: 5.3 MB / 1.345 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1831/1.057, allocations: 154 MB / 1.496 GB, free: 8.035 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/1.058, allocations: 24.69 kB / 1.496 GB, free: 8.023 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008254/1.059, allocations: 212.4 kB / 1.496 GB, free: 7.836 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002557/1.062, allocations: 0.5887 MB / 1.497 GB, free: 7.391 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002525/1.064, allocations: 0.867 MB / 1.497 GB, free: 6.734 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002435/1.067, allocations: 1.48 MB / 1.499 GB, free: 5.773 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008169/1.068, allocations: 446.1 kB / 1.499 GB, free: 5.312 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008423/1.068, allocations: 0.5334 MB / 1.5 GB, free: 4.777 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006458/1.069, allocations: 0.5329 MB / 1.5 GB, free: 4.242 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/1.069, allocations: 120 kB / 1.5 GB, free: 4.125 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/1.07, allocations: 0.5113 MB / 1.501 GB, free: 3.613 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002881/1.071, allocations: 315 kB / 1.501 GB, free: 3.305 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005349/1.071, allocations: 0.5907 MB / 1.502 GB, free: 2.711 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002132/1.073, allocations: 1.743 MB / 1.503 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.073, allocations: 3.984 kB / 1.503 GB, free: 0.957 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.463e-06/1.073, allocations: 4 kB / 1.503 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.2e-05/1.073, allocations: 0 / 1.503 GB, free: 0.9531 MB / 1.17 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.00266/1.076, allocations: 1.553 MB / 1.505 GB, free: 15.34 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.076, allocations: 12.03 kB / 1.505 GB, free: 15.33 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.991e-05/1.076, allocations: 22.19 kB / 1.505 GB, free: 15.31 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/1.076, allocations: 147.6 kB / 1.505 GB, free: 15.16 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/1.078, allocations: 232 kB / 1.505 GB, free: 14.93 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/1.079, allocations: 0.8094 MB / 1.506 GB, free: 14.08 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.27e-05/1.079, allocations: 66 kB / 1.506 GB, free: 14.02 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/1.079, allocations: 92 kB / 1.506 GB, free: 13.93 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/1.081, allocations: 0.9457 MB / 1.507 GB, free: 12.94 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/1.081, allocations: 7.984 kB / 1.507 GB, free: 12.93 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.788e-05/1.081, allocations: 39.98 kB / 1.507 GB, free: 12.89 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/1.081, allocations: 20 kB / 1.507 GB, free: 12.88 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/1.083, allocations: 1.139 MB / 1.508 GB, free: 11.73 MB / 1.186 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.004136/1.087, allocations: 2.874 MB / 1.511 GB, free: 8.727 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/1.088, allocations: 0.8024 MB / 1.512 GB, free: 7.922 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000556/1.089, allocations: 302.9 kB / 1.512 GB, free: 7.629 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.436e-05/1.089, allocations: 28.61 kB / 1.512 GB, free: 7.602 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009021/1.09, allocations: 0.5042 MB / 1.513 GB, free: 7.082 MB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 2.876e-06/1.09, allocations: 4 kB / 1.513 GB, free: 7.078 MB / 1.186 GB Notification: Performance of matching and sorting (n=85): time 0.0034/1.093, allocations: 1.263 MB / 1.514 GB, free: 5.785 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/1.093, allocations: 188.9 kB / 1.514 GB, free: 5.559 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009066/1.094, allocations: 0.6763 MB / 1.515 GB, free: 4.871 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.458e-05/1.094, allocations: 45.7 kB / 1.515 GB, free: 4.82 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/1.095, allocations: 425.1 kB / 1.515 GB, free: 4.398 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/1.095, allocations: 293.5 kB / 1.516 GB, free: 4.109 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/1.095, allocations: 150.6 kB / 1.516 GB, free: 3.957 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001938/1.095, allocations: 390.8 kB / 1.516 GB, free: 3.566 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/1.096, allocations: 257.9 kB / 1.516 GB, free: 3.312 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/1.097, allocations: 370.5 kB / 1.517 GB, free: 2.926 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/1.098, allocations: 0.6086 MB / 1.517 GB, free: 2.305 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.098, allocations: 0 / 1.517 GB, free: 2.305 MB / 1.186 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001982/1.1, allocations: 0.8413 MB / 1.518 GB, free: 1.453 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.1, allocations: 4 kB / 1.518 GB, free: 1.449 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/1.1, allocations: 0 / 1.518 GB, free: 1.449 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006187/1.1, allocations: 84.86 kB / 1.518 GB, free: 1.363 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/1.101, allocations: 171.7 kB / 1.518 GB, free: 1.195 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/1.103, allocations: 1.63 MB / 1.52 GB, free: 15.42 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007419/1.104, allocations: 95.53 kB / 1.52 GB, free: 15.32 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/1.104, allocations: 31.97 kB / 1.52 GB, free: 15.29 MB / 1.201 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.0004613/1.105, allocations: 265.6 kB / 1.52 GB, free: 15.02 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/1.105, allocations: 95.39 kB / 1.52 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/1.107, allocations: 1.094 MB / 1.522 GB, free: 13.83 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/1.107, allocations: 8 kB / 1.522 GB, free: 13.82 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/1.107, allocations: 0 / 1.522 GB, free: 13.82 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/1.107, allocations: 7.984 kB / 1.522 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/1.108, allocations: 0.9543 MB / 1.523 GB, free: 12.81 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.108, allocations: 3.938 kB / 1.523 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006473/1.109, allocations: 155.8 kB / 1.523 GB, free: 12.65 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000446/1.11, allocations: 72.72 kB / 1.523 GB, free: 12.58 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.474e-05/1.11, allocations: 31.97 kB / 1.523 GB, free: 12.55 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/1.112, allocations: 1.647 MB / 1.524 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.112, allocations: 3.938 kB / 1.524 GB, free: 10.74 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/1.114, allocations: 1.372 MB / 1.526 GB, free: 9.355 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/1.115, allocations: 292.1 kB / 1.526 GB, free: 9.051 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/1.115, allocations: 20 kB / 1.526 GB, free: 9.031 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006434/1.116, allocations: 59.94 kB / 1.526 GB, free: 8.973 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/1.116, allocations: 81.02 kB / 1.526 GB, free: 8.891 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.43e-05/1.116, allocations: 35.97 kB / 1.526 GB, free: 8.855 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000647/1.117, allocations: 495 kB / 1.527 GB, free: 8.375 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/1.117, allocations: 0 / 1.527 GB, free: 8.375 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008792/1.117, allocations: 339.1 kB / 1.527 GB, free: 8.043 MB / 1.201 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.004971/1.122, allocations: 2.419 MB / 1.529 GB, free: 5.773 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001822/1.124, allocations: 0.7961 MB / 1.53 GB, free: 4.961 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.124, allocations: 192 / 1.53 GB, free: 4.961 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009712/1.125, allocations: 0.508 MB / 1.531 GB, free: 4.445 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/1.126, allocations: 304.1 kB / 1.531 GB, free: 4.168 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/1.138, allocations: 6.616 MB / 1.537 GB, free: 13.4 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/1.138, allocations: 1.047 MB / 1.538 GB, free: 12.33 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008253/1.139, allocations: 271 kB / 1.539 GB, free: 12.06 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006124/1.14, allocations: 411.3 kB / 1.539 GB, free: 11.66 MB / 1.217 GB Notification: Performance of SimCode: time 1.122e-06/1.14, allocations: 0 / 1.539 GB, free: 11.66 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0583/1.198, allocations: 22.7 MB / 1.561 GB, free: 5.223 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/16.04, allocations: 19.73 kB / 1.561 GB, free: 5.207 MB / 1.232 GB " [Timeout remaining time 284] (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: 22.425658503023442]