Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001347/0.001347, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001646/0.001646, allocations: 220 kB / 22.25 MB, free: 5.258 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.105/3.105, allocations: 0.49 GB / 0.7951 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.SimpleHouse3,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_12_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.002077/0.002077, allocations: 63.55 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3616, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1926/0.5542, allocations: 146.3 MB / 1.469 GB, free: 14.61 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01418/0.5684, allocations: 7.53 MB / 1.476 GB, free: 7.059 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.5703, allocations: 47.62 kB / 1.476 GB, free: 7.012 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.5719, allocations: 397 kB / 1.477 GB, free: 6.621 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004716/0.5766, allocations: 1.372 MB / 1.478 GB, free: 5.246 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003597/0.5802, allocations: 1.206 MB / 1.479 GB, free: 4.047 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004032/0.5842, allocations: 2.41 MB / 1.481 GB, free: 1.633 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001944/0.5862, allocations: 0.9838 MB / 1.482 GB, free: 0.625 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001891/0.5881, allocations: 0.8992 MB / 1.483 GB, free: 15.72 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.5901, allocations: 0.8249 MB / 1.484 GB, free: 14.9 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003457/0.5904, allocations: 155.9 kB / 1.484 GB, free: 14.75 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.593, allocations: 1.037 MB / 1.485 GB, free: 13.71 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005884/0.5936, allocations: 442.6 kB / 1.486 GB, free: 13.27 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.5947, allocations: 0.6415 MB / 1.486 GB, free: 12.63 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004719/0.5994, allocations: 2.456 MB / 1.489 GB, free: 10.16 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.5994, allocations: 0 / 1.489 GB, free: 10.16 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5994, allocations: 0 / 1.489 GB, free: 10.16 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.793e-05/0.5995, allocations: 0 / 1.489 GB, free: 10.16 MB / 1.186 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.004438/0.6039, allocations: 1.887 MB / 1.491 GB, free: 8.234 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.6039, allocations: 8.031 kB / 1.491 GB, free: 8.227 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002289/0.6042, allocations: 168.9 kB / 1.491 GB, free: 8.051 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00256/0.6067, allocations: 382.6 kB / 1.491 GB, free: 7.676 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.6087, allocations: 0.959 MB / 1.492 GB, free: 6.68 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.831e-05/0.6088, allocations: 78.2 kB / 1.492 GB, free: 6.602 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.609, allocations: 115.9 kB / 1.492 GB, free: 6.488 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.6113, allocations: 1.527 MB / 1.494 GB, free: 4.805 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.6114, allocations: 0 / 1.494 GB, free: 4.805 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.6115, allocations: 47.98 kB / 1.494 GB, free: 4.758 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/0.6115, allocations: 42.06 kB / 1.494 GB, free: 4.715 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.6137, allocations: 1.261 MB / 1.495 GB, free: 3.445 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.005692/0.6194, allocations: 2.903 MB / 1.498 GB, free: 476 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.6212, allocations: 0.9417 MB / 1.499 GB, free: 15.51 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006687/0.6219, allocations: 371.7 kB / 1.499 GB, free: 15.14 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-05/0.622, allocations: 24.92 kB / 1.499 GB, free: 15.12 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/0.6232, allocations: 0.7959 MB / 1.5 GB, free: 14.26 MB / 1.201 GB Notification: Performance of pre-optimization done (n=102): time 2.995e-06/0.6232, allocations: 0 / 1.5 GB, free: 14.26 MB / 1.201 GB Notification: Performance of matching and sorting (n=102): time 0.003918/0.6271, allocations: 1.375 MB / 1.501 GB, free: 12.88 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/0.6273, allocations: 192.9 kB / 1.501 GB, free: 12.64 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.6286, allocations: 0.8586 MB / 1.502 GB, free: 11.76 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.6287, allocations: 53.7 kB / 1.502 GB, free: 11.7 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005437/0.6293, allocations: 0.5441 MB / 1.503 GB, free: 11.15 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003578/0.6296, allocations: 356.9 kB / 1.503 GB, free: 10.8 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.6299, allocations: 186.6 kB / 1.503 GB, free: 10.61 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.6301, allocations: 341.9 kB / 1.504 GB, free: 10.27 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006812/0.6308, allocations: 309.8 kB / 1.504 GB, free: 9.973 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009042/0.6317, allocations: 0.5861 MB / 1.505 GB, free: 9.309 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.6331, allocations: 0.7814 MB / 1.505 GB, free: 8.5 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.6331, allocations: 0 / 1.505 GB, free: 8.5 MB / 1.201 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002631/0.6358, allocations: 1.029 MB / 1.506 GB, free: 7.461 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.6358, allocations: 8 kB / 1.506 GB, free: 7.453 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.6358, allocations: 0 / 1.506 GB, free: 7.453 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006965/0.6365, allocations: 88.95 kB / 1.506 GB, free: 7.363 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009242/0.6374, allocations: 207.7 kB / 1.507 GB, free: 7.16 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.6398, allocations: 1.527 MB / 1.508 GB, free: 5.516 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.641, allocations: 103.4 kB / 1.508 GB, free: 5.414 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-05/0.6411, allocations: 52.09 kB / 1.508 GB, free: 5.363 MB / 1.201 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.000673/0.6418, allocations: 310.1 kB / 1.509 GB, free: 5.051 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.6421, allocations: 123.2 kB / 1.509 GB, free: 4.93 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002927/0.645, allocations: 1.248 MB / 1.51 GB, free: 3.664 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.645, allocations: 8 kB / 1.51 GB, free: 3.656 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.645, allocations: 4 kB / 1.51 GB, free: 3.652 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.645, allocations: 3.984 kB / 1.51 GB, free: 3.648 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.6467, allocations: 0.9777 MB / 1.511 GB, free: 2.629 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.6467, allocations: 3.938 kB / 1.511 GB, free: 2.625 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009345/0.6476, allocations: 203.7 kB / 1.511 GB, free: 2.426 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004948/0.6481, allocations: 76.78 kB / 1.511 GB, free: 2.348 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.308e-05/0.6482, allocations: 31.97 kB / 1.511 GB, free: 2.316 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/0.6504, allocations: 1.551 MB / 1.513 GB, free: 0.6445 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6504, allocations: 0 / 1.513 GB, free: 0.6445 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003303/0.6537, allocations: 1.583 MB / 1.514 GB, free: 15.04 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007411/0.6544, allocations: 258.9 kB / 1.514 GB, free: 14.79 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.6546, allocations: 32 kB / 1.514 GB, free: 14.76 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008657/0.6555, allocations: 63.92 kB / 1.515 GB, free: 14.7 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.6557, allocations: 88.83 kB / 1.515 GB, free: 14.61 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.691e-05/0.6558, allocations: 39.98 kB / 1.515 GB, free: 14.57 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009616/0.6567, allocations: 0.6061 MB / 1.515 GB, free: 13.95 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6567, allocations: 0 / 1.515 GB, free: 13.95 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001187/0.6579, allocations: 431 kB / 1.516 GB, free: 13.53 MB / 1.217 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.005665/0.6636, allocations: 2.692 MB / 1.518 GB, free: 11.02 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002104/0.6657, allocations: 0.9288 MB / 1.519 GB, free: 10.08 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6657, allocations: 0 / 1.519 GB, free: 10.08 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.6668, allocations: 0.5748 MB / 1.52 GB, free: 9.488 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/0.669, allocations: 496.4 kB / 1.52 GB, free: 9.031 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/0.6843, allocations: 8.323 MB / 1.528 GB, free: 0.5273 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007209/0.685, allocations: 0.5715 MB / 1.529 GB, free: 15.92 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001321/0.6863, allocations: 333.3 kB / 1.529 GB, free: 15.59 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000978/0.6873, allocations: 0.5226 MB / 1.53 GB, free: 15.07 MB / 1.232 GB Notification: Performance of SimCode: time 1.593e-06/0.6873, allocations: 0 / 1.53 GB, free: 15.07 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08032/0.7676, allocations: 32.6 MB / 1.562 GB, free: 14.91 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.08, allocations: 17.8 kB / 1.562 GB, free: 14.9 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.866603552974993]