Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001472/0.001472, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.00179/0.00179, allocations: 220.5 kB / 23.05 MB, free: 5.074 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.856/2.856, allocations: 476.8 MB / 0.7715 GB, free: 4.324 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_11_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.002014/0.002014, allocations: 63.44 kB / 1.118 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3309, allocations: 170 MB / 1.284 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2055/0.5365, allocations: 169.7 MB / 1.45 GB, free: 1.324 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.5512, allocations: 8.05 MB / 1.458 GB, free: 9.246 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.5531, allocations: 43.62 kB / 1.458 GB, free: 9.203 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.5546, allocations: 424.9 kB / 1.458 GB, free: 8.785 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004622/0.5592, allocations: 1.38 MB / 1.46 GB, free: 7.402 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003968/0.5631, allocations: 1.225 MB / 1.461 GB, free: 6.184 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004522/0.5677, allocations: 2.421 MB / 1.463 GB, free: 3.758 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/0.5697, allocations: 0.9877 MB / 1.464 GB, free: 2.75 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001976/0.5717, allocations: 0.868 MB / 1.465 GB, free: 1.879 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/0.574, allocations: 0.8112 MB / 1.466 GB, free: 1.066 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0006016/0.5746, allocations: 152 kB / 1.466 GB, free: 0.918 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003154/0.5778, allocations: 1.217 MB / 1.467 GB, free: 15.7 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007634/0.5785, allocations: 454.5 kB / 1.467 GB, free: 15.25 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.5797, allocations: 0.7852 MB / 1.468 GB, free: 14.46 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004875/0.5846, allocations: 2.464 MB / 1.471 GB, free: 11.99 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.5846, allocations: 3.938 kB / 1.471 GB, free: 11.99 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.345e-06/0.5846, allocations: 0 / 1.471 GB, free: 11.99 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.229e-05/0.5847, allocations: 0 / 1.471 GB, free: 11.99 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004402/0.5891, allocations: 1.887 MB / 1.472 GB, free: 10.06 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.5892, allocations: 16.02 kB / 1.472 GB, free: 10.04 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.018e-05/0.5892, allocations: 26.2 kB / 1.473 GB, free: 10.02 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002358/0.5894, allocations: 169 kB / 1.473 GB, free: 9.84 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002536/0.592, allocations: 378.6 kB / 1.473 GB, free: 9.469 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.594, allocations: 0.9512 MB / 1.474 GB, free: 8.48 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.353e-05/0.5941, allocations: 90.19 kB / 1.474 GB, free: 8.391 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.5943, allocations: 108 kB / 1.474 GB, free: 8.285 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.5965, allocations: 1.176 MB / 1.475 GB, free: 7.039 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.5965, allocations: 0 / 1.475 GB, free: 7.039 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.5966, allocations: 51.94 kB / 1.475 GB, free: 6.988 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-05/0.5966, allocations: 38.12 kB / 1.475 GB, free: 6.949 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.5989, allocations: 1.312 MB / 1.477 GB, free: 5.629 MB / 1.17 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.005995/0.6049, allocations: 3.75 MB / 1.48 GB, free: 1.68 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.6067, allocations: 0.9418 MB / 1.481 GB, free: 0.7383 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006703/0.6074, allocations: 367.6 kB / 1.482 GB, free: 380 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.887e-05/0.6075, allocations: 33.03 kB / 1.482 GB, free: 348 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.6085, allocations: 0.5876 MB / 1.482 GB, free: 15.74 MB / 1.186 GB Notification: Performance of pre-optimization done (n=102): time 2.514e-06/0.6085, allocations: 4 kB / 1.482 GB, free: 15.73 MB / 1.186 GB Notification: Performance of matching and sorting (n=102): time 0.003758/0.6123, allocations: 1.371 MB / 1.484 GB, free: 14.35 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.6124, allocations: 196.9 kB / 1.484 GB, free: 14.12 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.6137, allocations: 0.8625 MB / 1.485 GB, free: 13.23 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.6138, allocations: 45.7 kB / 1.485 GB, free: 13.18 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004847/0.6143, allocations: 0.5402 MB / 1.485 GB, free: 12.63 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003668/0.6146, allocations: 361 kB / 1.485 GB, free: 12.28 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003124/0.6149, allocations: 190.5 kB / 1.486 GB, free: 12.09 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.6151, allocations: 334 kB / 1.486 GB, free: 11.75 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/0.6158, allocations: 317.8 kB / 1.486 GB, free: 11.44 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008004/0.6166, allocations: 479.6 kB / 1.487 GB, free: 10.93 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.618, allocations: 0.7698 MB / 1.488 GB, free: 10.13 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.618, allocations: 4 kB / 1.488 GB, free: 10.12 MB / 1.186 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002477/0.6205, allocations: 1.036 MB / 1.489 GB, free: 9.082 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.6205, allocations: 4 kB / 1.489 GB, free: 9.078 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.6205, allocations: 8 kB / 1.489 GB, free: 9.07 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006108/0.6212, allocations: 84.92 kB / 1.489 GB, free: 8.984 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008968/0.6221, allocations: 207.6 kB / 1.489 GB, free: 8.781 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.6244, allocations: 1.535 MB / 1.49 GB, free: 7.121 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.6254, allocations: 107.4 kB / 1.49 GB, free: 7.016 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.6255, allocations: 39.97 kB / 1.49 GB, free: 6.977 MB / 1.186 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.000667/0.6262, allocations: 319.7 kB / 1.491 GB, free: 6.656 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.6265, allocations: 119.2 kB / 1.491 GB, free: 6.539 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/0.6294, allocations: 1.248 MB / 1.492 GB, free: 5.273 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.6294, allocations: 12 kB / 1.492 GB, free: 5.262 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.6294, allocations: 0 / 1.492 GB, free: 5.262 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.6294, allocations: 3.984 kB / 1.492 GB, free: 5.258 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.6312, allocations: 1.161 MB / 1.493 GB, free: 4.055 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.6312, allocations: 0 / 1.493 GB, free: 4.055 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009502/0.6321, allocations: 223.7 kB / 1.493 GB, free: 3.836 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/0.6326, allocations: 64.8 kB / 1.494 GB, free: 3.77 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.415e-05/0.6327, allocations: 35.97 kB / 1.494 GB, free: 3.734 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.6347, allocations: 1.562 MB / 1.495 GB, free: 2.051 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6347, allocations: 0 / 1.495 GB, free: 2.051 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003437/0.6381, allocations: 1.578 MB / 1.497 GB, free: 464 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007007/0.6388, allocations: 258.9 kB / 1.497 GB, free: 204 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.6391, allocations: 24 kB / 1.497 GB, free: 180 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008902/0.6399, allocations: 69.61 kB / 1.497 GB, free: 112 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.6401, allocations: 80.78 kB / 1.497 GB, free: 28 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.6402, allocations: 43.97 kB / 1.497 GB, free: 15.98 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000942/0.6412, allocations: 0.61 MB / 1.498 GB, free: 15.36 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6412, allocations: 0 / 1.498 GB, free: 15.36 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001152/0.6423, allocations: 431 kB / 1.498 GB, free: 14.94 MB / 1.201 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.005581/0.6479, allocations: 2.651 MB / 1.501 GB, free: 12.45 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002096/0.65, allocations: 0.933 MB / 1.502 GB, free: 11.5 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.65, allocations: 0 / 1.502 GB, free: 11.5 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.6511, allocations: 0.5704 MB / 1.502 GB, free: 10.92 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.6533, allocations: 496.6 kB / 1.503 GB, free: 10.46 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/0.6682, allocations: 8.331 MB / 1.511 GB, free: 1.949 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008907/0.6691, allocations: 1.161 MB / 1.512 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001151/0.6702, allocations: 325.3 kB / 1.512 GB, free: 444 kB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008416/0.6711, allocations: 0.5189 MB / 1.513 GB, free: 15.91 MB / 1.217 GB Notification: Performance of SimCode: time 7.22e-07/0.6711, allocations: 0 / 1.513 GB, free: 15.91 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07466/0.7457, allocations: 30.79 MB / 1.543 GB, free: 1.438 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.78/17.53, allocations: 8.594 kB / 1.543 GB, free: 1.434 MB / 1.232 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.6801966210478]