Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 225.6 MB / 249.3 MB, free: 3.223 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.486/2.486, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 67.89 kB / 1.107 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7398/0.7416, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006949/0.7485, allocations: 5.304 MB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1687/0.9172, allocations: 151.2 MB / 1.424 GB, free: 3.469 MB / 1.108 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.9182, allocations: 20.06 kB / 1.424 GB, free: 3.461 MB / 1.108 GB Notification: Performance of NFTyping.typeComponents: time 0.0007732/0.919, allocations: 203.2 kB / 1.424 GB, free: 3.281 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.9211, allocations: 0.5739 MB / 1.425 GB, free: 2.848 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.9233, allocations: 0.8693 MB / 1.426 GB, free: 2.184 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.001816/0.9251, allocations: 1.457 MB / 1.427 GB, free: 1.273 MB / 1.108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008129/0.9259, allocations: 435.1 kB / 1.428 GB, free: 0.9531 MB / 1.108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008443/0.9268, allocations: 0.5008 MB / 1.428 GB, free: 0.6523 MB / 1.108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008814/0.9276, allocations: 0.5282 MB / 1.429 GB, free: 284 kB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 0.0002859/0.9279, allocations: 120.3 kB / 1.429 GB, free: 284 kB / 1.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.929, allocations: 492.5 kB / 1.429 GB, free: 96 kB / 1.108 GB Notification: Performance of NFScalarize.scalarize: time 0.0003829/0.9294, allocations: 302.4 kB / 1.43 GB, free: 15.86 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008764/0.9303, allocations: 0.5948 MB / 1.43 GB, free: 15.42 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002496/0.9328, allocations: 1.69 MB / 1.432 GB, free: 14.2 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.9328, allocations: 0 / 1.432 GB, free: 14.2 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9328, allocations: 4 kB / 1.432 GB, free: 14.2 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.196e-05/0.9329, allocations: 0 / 1.432 GB, free: 14.2 MB / 1.123 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.003281/0.9361, allocations: 1.531 MB / 1.433 GB, free: 13 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.9362, allocations: 9.438 kB / 1.433 GB, free: 13 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001796/0.9364, allocations: 142.6 kB / 1.433 GB, free: 12.88 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009584/0.9373, allocations: 198.7 kB / 1.434 GB, free: 12.78 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.9385, allocations: 0.7962 MB / 1.434 GB, free: 12.13 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.9386, allocations: 65.75 kB / 1.434 GB, free: 12.1 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.9387, allocations: 81.81 kB / 1.435 GB, free: 12.07 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.9402, allocations: 0.9603 MB / 1.435 GB, free: 11.46 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.9402, allocations: 0 / 1.435 GB, free: 11.46 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.92e-05/0.9403, allocations: 37.62 kB / 1.436 GB, free: 11.43 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.9403, allocations: 22 kB / 1.436 GB, free: 11.43 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.942, allocations: 1.138 MB / 1.437 GB, free: 10.88 MB / 1.123 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.004152/0.9462, allocations: 2.789 MB / 1.439 GB, free: 8.414 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.9477, allocations: 0.8037 MB / 1.44 GB, free: 7.605 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/0.9483, allocations: 290.7 kB / 1.44 GB, free: 7.312 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-05/0.9484, allocations: 38.73 kB / 1.44 GB, free: 7.277 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008393/0.9492, allocations: 0.5003 MB / 1.441 GB, free: 6.762 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 2.504e-06/0.9492, allocations: 3.938 kB / 1.441 GB, free: 6.758 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.003166/0.9524, allocations: 1.251 MB / 1.442 GB, free: 5.484 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.9525, allocations: 192.9 kB / 1.442 GB, free: 5.25 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007782/0.9532, allocations: 0.6451 MB / 1.443 GB, free: 4.598 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/0.9533, allocations: 45.7 kB / 1.443 GB, free: 4.547 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.9536, allocations: 429 kB / 1.443 GB, free: 4.121 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/0.9539, allocations: 289.6 kB / 1.444 GB, free: 3.836 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.9541, allocations: 150.6 kB / 1.444 GB, free: 3.684 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.9543, allocations: 390.7 kB / 1.444 GB, free: 3.293 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/0.9548, allocations: 253.9 kB / 1.444 GB, free: 3.047 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006197/0.9554, allocations: 374.5 kB / 1.445 GB, free: 2.652 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.9565, allocations: 0.6086 MB / 1.445 GB, free: 2.035 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9565, allocations: 0 / 1.445 GB, free: 2.035 MB / 1.123 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001857/0.9583, allocations: 0.8414 MB / 1.446 GB, free: 1.18 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.9584, allocations: 6.344 kB / 1.446 GB, free: 1.176 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.9584, allocations: 7.984 kB / 1.446 GB, free: 1.168 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005664/0.9589, allocations: 80.81 kB / 1.446 GB, free: 1.086 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/0.9596, allocations: 163.8 kB / 1.447 GB, free: 0.9258 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.9616, allocations: 1.638 MB / 1.448 GB, free: 15.14 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006852/0.9623, allocations: 83.53 kB / 1.448 GB, free: 15.06 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.9624, allocations: 39.97 kB / 1.448 GB, free: 15.02 MB / 1.139 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.0003853/0.9628, allocations: 278.5 kB / 1.448 GB, free: 14.74 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.9629, allocations: 91.44 kB / 1.449 GB, free: 14.65 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.9653, allocations: 1.093 MB / 1.45 GB, free: 13.54 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.9653, allocations: 12 kB / 1.45 GB, free: 13.53 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.9653, allocations: 0 / 1.45 GB, free: 13.53 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.9653, allocations: 3.984 kB / 1.45 GB, free: 13.53 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.9664, allocations: 0.9348 MB / 1.451 GB, free: 12.54 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.9664, allocations: 3.938 kB / 1.451 GB, free: 12.54 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000624/0.967, allocations: 159.8 kB / 1.451 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/0.9674, allocations: 68.78 kB / 1.451 GB, free: 12.31 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/0.9675, allocations: 23.98 kB / 1.451 GB, free: 12.29 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.9694, allocations: 1.67 MB / 1.452 GB, free: 10.47 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.9694, allocations: 0 / 1.452 GB, free: 10.47 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.972, allocations: 1.371 MB / 1.454 GB, free: 9.082 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003605/0.9723, allocations: 288.2 kB / 1.454 GB, free: 8.781 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.9725, allocations: 24 kB / 1.454 GB, free: 8.758 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000603/0.9731, allocations: 63.92 kB / 1.454 GB, free: 8.695 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.9732, allocations: 72.84 kB / 1.454 GB, free: 8.625 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.992e-05/0.9733, allocations: 35.97 kB / 1.454 GB, free: 8.59 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000557/0.9738, allocations: 479 kB / 1.455 GB, free: 8.125 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.9738, allocations: 0 / 1.455 GB, free: 8.125 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008254/0.9747, allocations: 335.1 kB / 1.455 GB, free: 7.797 MB / 1.139 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.004558/0.9792, allocations: 2.414 MB / 1.457 GB, free: 5.531 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.9808, allocations: 0.7961 MB / 1.458 GB, free: 4.719 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9808, allocations: 4 kB / 1.458 GB, free: 4.715 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000917/0.9817, allocations: 0.5004 MB / 1.459 GB, free: 4.203 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.9829, allocations: 311.7 kB / 1.459 GB, free: 3.926 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.9934, allocations: 6.549 MB / 1.465 GB, free: 13.22 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006773/0.9941, allocations: 1.043 MB / 1.466 GB, free: 12.15 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007637/0.9949, allocations: 258.9 kB / 1.467 GB, free: 11.89 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005551/0.9954, allocations: 407.3 kB / 1.467 GB, free: 11.5 MB / 1.154 GB Notification: Performance of SimCode: time 8.12e-07/0.9954, allocations: 0 / 1.467 GB, free: 11.5 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05882/1.054, allocations: 22.44 MB / 1.489 GB, free: 5.285 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.86, allocations: 10.5 kB / 1.489 GB, free: 5.277 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.30721513500066]