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.001365/0.001365, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001614/0.001614, allocations: 214.8 kB / 23.03 MB, free: 4.922 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.249/3.249, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.001963/0.001963, allocations: 63.84 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.332, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2099/0.542, allocations: 146.2 MB / 1.469 GB, free: 14.72 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01624/0.5582, allocations: 7.514 MB / 1.477 GB, free: 7.184 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002705/0.5609, allocations: 47.69 kB / 1.477 GB, free: 7.137 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.5632, allocations: 396.9 kB / 1.477 GB, free: 6.746 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006906/0.5701, allocations: 1.376 MB / 1.479 GB, free: 5.367 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005464/0.5755, allocations: 1.209 MB / 1.48 GB, free: 4.164 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005642/0.5812, allocations: 2.411 MB / 1.482 GB, free: 1.75 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002767/0.5839, allocations: 0.9884 MB / 1.483 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002808/0.5867, allocations: 0.8953 MB / 1.484 GB, free: 15.84 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003127/0.5899, allocations: 0.8231 MB / 1.485 GB, free: 15.02 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0008061/0.5907, allocations: 152 kB / 1.485 GB, free: 14.87 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/0.5947, allocations: 1.037 MB / 1.486 GB, free: 13.83 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0009639/0.5957, allocations: 442.6 kB / 1.486 GB, free: 13.4 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001803/0.5975, allocations: 0.6454 MB / 1.487 GB, free: 12.75 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.007045/0.6045, allocations: 2.456 MB / 1.489 GB, free: 10.29 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.6045, allocations: 0 / 1.489 GB, free: 10.29 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.066e-06/0.6045, allocations: 0 / 1.489 GB, free: 10.29 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.2e-05/0.6046, allocations: 4 kB / 1.489 GB, free: 10.28 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.007111/0.6117, allocations: 1.883 MB / 1.491 GB, free: 8.355 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.611e-05/0.6118, allocations: 8.031 kB / 1.491 GB, free: 8.348 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.978e-05/0.6119, allocations: 30.2 kB / 1.491 GB, free: 8.316 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004305/0.6123, allocations: 172.9 kB / 1.491 GB, free: 8.137 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004454/0.6167, allocations: 374.6 kB / 1.492 GB, free: 7.77 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003626/0.6204, allocations: 0.959 MB / 1.493 GB, free: 6.773 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.6205, allocations: 82.2 kB / 1.493 GB, free: 6.691 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004486/0.621, allocations: 108 kB / 1.493 GB, free: 6.586 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004396/0.6254, allocations: 1.52 MB / 1.494 GB, free: 4.91 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/0.6254, allocations: 7.938 kB / 1.494 GB, free: 4.902 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/0.6256, allocations: 55.88 kB / 1.494 GB, free: 4.848 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.526e-05/0.6257, allocations: 38.12 kB / 1.494 GB, free: 4.809 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003921/0.6296, allocations: 1.308 MB / 1.496 GB, free: 3.492 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.009628/0.6392, allocations: 2.907 MB / 1.499 GB, free: 0.5078 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/0.6422, allocations: 0.9487 MB / 1.499 GB, free: 15.55 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.6433, allocations: 361.7 kB / 1.5 GB, free: 15.2 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.6434, allocations: 28.92 kB / 1.5 GB, free: 15.17 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001887/0.6453, allocations: 0.7924 MB / 1.501 GB, free: 14.31 MB / 1.201 GB Notification: Performance of pre-optimization done (n=102): time 5.15e-06/0.6453, allocations: 0 / 1.501 GB, free: 14.31 MB / 1.201 GB Notification: Performance of matching and sorting (n=102): time 0.006179/0.6515, allocations: 1.375 MB / 1.502 GB, free: 12.93 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/0.6517, allocations: 200.9 kB / 1.502 GB, free: 12.69 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.6536, allocations: 0.8547 MB / 1.503 GB, free: 11.81 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001987/0.6538, allocations: 49.7 kB / 1.503 GB, free: 11.75 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007436/0.6546, allocations: 0.5402 MB / 1.504 GB, free: 11.21 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005544/0.6551, allocations: 349 kB / 1.504 GB, free: 10.86 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004659/0.6556, allocations: 190.5 kB / 1.504 GB, free: 10.67 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002361/0.6558, allocations: 341.9 kB / 1.504 GB, free: 10.33 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009761/0.6568, allocations: 313.8 kB / 1.505 GB, free: 10.03 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.6582, allocations: 0.5939 MB / 1.505 GB, free: 9.355 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/0.6603, allocations: 0.7737 MB / 1.506 GB, free: 8.555 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.6603, allocations: 4 kB / 1.506 GB, free: 8.551 MB / 1.201 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003869/0.6642, allocations: 1.032 MB / 1.507 GB, free: 7.504 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.6642, allocations: 4 kB / 1.507 GB, free: 7.5 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.6643, allocations: 4 kB / 1.507 GB, free: 7.496 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009294/0.6652, allocations: 84.98 kB / 1.507 GB, free: 7.41 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.6666, allocations: 207.7 kB / 1.507 GB, free: 7.207 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/0.6701, allocations: 1.527 MB / 1.509 GB, free: 5.562 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.672, allocations: 109.1 kB / 1.509 GB, free: 5.457 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/0.6722, allocations: 39.97 kB / 1.509 GB, free: 5.418 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.001022/0.6732, allocations: 318.1 kB / 1.509 GB, free: 5.098 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004975/0.6737, allocations: 119.2 kB / 1.509 GB, free: 4.98 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004503/0.6782, allocations: 1.248 MB / 1.511 GB, free: 3.719 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.6782, allocations: 15.94 kB / 1.511 GB, free: 3.703 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.6782, allocations: 0 / 1.511 GB, free: 3.703 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.6782, allocations: 7.969 kB / 1.511 GB, free: 3.695 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/0.6809, allocations: 0.9738 MB / 1.512 GB, free: 2.68 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.6809, allocations: 3.938 kB / 1.512 GB, free: 2.676 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.6823, allocations: 211.8 kB / 1.512 GB, free: 2.469 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006278/0.683, allocations: 72.72 kB / 1.512 GB, free: 2.395 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/0.6831, allocations: 35.97 kB / 1.512 GB, free: 2.359 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002873/0.686, allocations: 1.551 MB / 1.513 GB, free: 0.6875 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.686, allocations: 0 / 1.513 GB, free: 0.6875 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005383/0.6914, allocations: 1.578 MB / 1.515 GB, free: 15.09 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.6924, allocations: 258.8 kB / 1.515 GB, free: 14.84 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003066/0.6927, allocations: 24.06 kB / 1.515 GB, free: 14.81 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009906/0.6937, allocations: 74.03 kB / 1.515 GB, free: 14.74 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/0.6939, allocations: 84.83 kB / 1.515 GB, free: 14.66 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.694, allocations: 39.98 kB / 1.515 GB, free: 14.62 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001003/0.695, allocations: 0.6061 MB / 1.516 GB, free: 14 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.695, allocations: 0 / 1.516 GB, free: 14 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001261/0.6963, allocations: 431 kB / 1.516 GB, free: 13.58 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.005986/0.7023, allocations: 2.695 MB / 1.519 GB, free: 11.07 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002192/0.7045, allocations: 0.9248 MB / 1.52 GB, free: 10.12 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.7045, allocations: 4.562 kB / 1.52 GB, free: 10.12 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.7057, allocations: 0.5743 MB / 1.52 GB, free: 9.535 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/0.708, allocations: 495.5 kB / 1.521 GB, free: 9.074 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/0.7239, allocations: 8.321 MB / 1.529 GB, free: 0.5703 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/0.7245, allocations: 0.5732 MB / 1.53 GB, free: 15.96 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00122/0.7258, allocations: 329.3 kB / 1.53 GB, free: 15.64 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008727/0.7266, allocations: 0.5227 MB / 1.53 GB, free: 15.12 MB / 1.232 GB Notification: Performance of SimCode: time 8.52e-07/0.7266, allocations: 0 / 1.53 GB, free: 15.12 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07551/0.8021, allocations: 32.1 MB / 1.562 GB, free: 15.5 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.72/17.52, allocations: 10.88 kB / 1.562 GB, free: 15.49 MB / 1.264 GB " [Timeout remaining time 282] (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: 24.693181086913683]