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.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.001833/0.001833, allocations: 113.5 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.00216/0.00216, allocations: 215.1 kB / 23.04 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.677/2.677, allocations: 476.7 MB / 0.7715 GB, free: 4.281 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.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_11_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.00202/0.00202, allocations: 62.06 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2986, allocations: 170 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007791/0.3064, allocations: 5.342 MB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1874/0.4938, allocations: 154.2 MB / 1.44 GB, free: 11.66 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009747/0.4947, allocations: 19.88 kB / 1.44 GB, free: 11.64 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000875/0.4956, allocations: 222 kB / 1.44 GB, free: 11.42 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.4978, allocations: 0.5796 MB / 1.441 GB, free: 10.84 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.5001, allocations: 0.8867 MB / 1.442 GB, free: 9.961 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002074/0.5022, allocations: 1.486 MB / 1.443 GB, free: 8.469 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009301/0.5031, allocations: 434.8 kB / 1.443 GB, free: 8.02 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009796/0.5041, allocations: 0.5256 MB / 1.444 GB, free: 7.492 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000827/0.5049, allocations: 0.5406 MB / 1.444 GB, free: 6.949 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002001/0.5051, allocations: 120 kB / 1.445 GB, free: 6.832 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.5063, allocations: 0.5191 MB / 1.445 GB, free: 6.312 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003184/0.5066, allocations: 311 kB / 1.445 GB, free: 6.008 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006297/0.5072, allocations: 0.5985 MB / 1.446 GB, free: 5.406 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.5097, allocations: 1.743 MB / 1.448 GB, free: 3.656 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5097, allocations: 4 kB / 1.448 GB, free: 3.652 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5097, allocations: 7.938 kB / 1.448 GB, free: 3.645 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.823e-05/0.5097, allocations: 0 / 1.448 GB, free: 3.645 MB / 1.139 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.003083/0.5128, allocations: 1.482 MB / 1.449 GB, free: 2.129 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.5129, allocations: 12.03 kB / 1.449 GB, free: 2.117 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.673e-05/0.5129, allocations: 22.19 kB / 1.449 GB, free: 2.094 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.5131, allocations: 143.7 kB / 1.449 GB, free: 1.945 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.5146, allocations: 236 kB / 1.45 GB, free: 1.715 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.516, allocations: 0.7333 MB / 1.45 GB, free: 0.9531 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.469e-05/0.516, allocations: 70 kB / 1.45 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.5162, allocations: 91.98 kB / 1.45 GB, free: 0.7969 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.5179, allocations: 0.9457 MB / 1.451 GB, free: 15.81 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.5179, allocations: 4 kB / 1.451 GB, free: 15.8 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-05/0.518, allocations: 36 kB / 1.451 GB, free: 15.77 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.518, allocations: 20 kB / 1.451 GB, free: 15.75 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.52, allocations: 1.139 MB / 1.453 GB, free: 14.61 MB / 1.154 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.004753/0.5247, allocations: 2.748 MB / 1.455 GB, free: 11.74 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.5264, allocations: 0.7934 MB / 1.456 GB, free: 10.93 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005832/0.527, allocations: 292.7 kB / 1.456 GB, free: 10.65 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.555e-05/0.527, allocations: 32.69 kB / 1.456 GB, free: 10.62 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000952/0.528, allocations: 0.5054 MB / 1.457 GB, free: 10.09 MB / 1.154 GB Notification: Performance of pre-optimization done (n=85): time 2.795e-06/0.528, allocations: 0 / 1.457 GB, free: 10.09 MB / 1.154 GB Notification: Performance of matching and sorting (n=85): time 0.003487/0.5315, allocations: 1.18 MB / 1.458 GB, free: 8.906 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.5316, allocations: 196.9 kB / 1.458 GB, free: 8.672 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009808/0.5326, allocations: 0.6763 MB / 1.459 GB, free: 7.992 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.5327, allocations: 41.7 kB / 1.459 GB, free: 7.945 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/0.5331, allocations: 429 kB / 1.459 GB, free: 7.52 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002789/0.5334, allocations: 285.6 kB / 1.459 GB, free: 7.238 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.5336, allocations: 154.6 kB / 1.46 GB, free: 7.078 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.5338, allocations: 394.7 kB / 1.46 GB, free: 6.684 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005671/0.5344, allocations: 257.9 kB / 1.46 GB, free: 6.434 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006682/0.5351, allocations: 362.6 kB / 1.461 GB, free: 6.055 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.5362, allocations: 0.6125 MB / 1.461 GB, free: 5.43 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5362, allocations: 0 / 1.461 GB, free: 5.43 MB / 1.154 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002076/0.5383, allocations: 0.8452 MB / 1.462 GB, free: 4.578 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.5383, allocations: 4 kB / 1.462 GB, free: 4.574 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.5383, allocations: 4.094 kB / 1.462 GB, free: 4.57 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/0.5389, allocations: 80.72 kB / 1.462 GB, free: 4.488 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006932/0.5396, allocations: 171.8 kB / 1.462 GB, free: 4.32 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.5419, allocations: 1.53 MB / 1.464 GB, free: 2.668 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008531/0.5427, allocations: 103.5 kB / 1.464 GB, free: 2.566 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.387e-05/0.5428, allocations: 27.98 kB / 1.464 GB, free: 2.539 MB / 1.154 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.0004868/0.5433, allocations: 265.7 kB / 1.464 GB, free: 2.27 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.5435, allocations: 91.44 kB / 1.464 GB, free: 2.18 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/0.546, allocations: 1.098 MB / 1.465 GB, free: 1.066 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.546, allocations: 11.94 kB / 1.465 GB, free: 1.055 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.546, allocations: 4 kB / 1.465 GB, free: 1.051 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.546, allocations: 7.984 kB / 1.465 GB, free: 1.043 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.5473, allocations: 0.9144 MB / 1.466 GB, free: 84 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5473, allocations: 0 / 1.466 GB, free: 84 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006891/0.5479, allocations: 159.8 kB / 1.466 GB, free: 15.93 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004491/0.5484, allocations: 72.73 kB / 1.466 GB, free: 15.85 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-05/0.5485, allocations: 31.97 kB / 1.466 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.5504, allocations: 1.559 MB / 1.468 GB, free: 14.14 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.5504, allocations: 7.953 kB / 1.468 GB, free: 14.13 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002905/0.5534, allocations: 1.375 MB / 1.469 GB, free: 12.74 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004886/0.5538, allocations: 203.1 kB / 1.47 GB, free: 12.54 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.554, allocations: 23.95 kB / 1.47 GB, free: 12.52 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006783/0.5547, allocations: 63.98 kB / 1.47 GB, free: 12.45 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.5548, allocations: 76.86 kB / 1.47 GB, free: 12.38 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.582e-05/0.5549, allocations: 35.97 kB / 1.47 GB, free: 12.34 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006668/0.5556, allocations: 495 kB / 1.47 GB, free: 11.87 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5556, allocations: 0 / 1.47 GB, free: 11.87 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009089/0.5565, allocations: 331.1 kB / 1.471 GB, free: 11.54 MB / 1.17 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.005119/0.5616, allocations: 2.427 MB / 1.473 GB, free: 9.266 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001897/0.5635, allocations: 0.8039 MB / 1.474 GB, free: 8.449 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5635, allocations: 0 / 1.474 GB, free: 8.449 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.5645, allocations: 0.5041 MB / 1.474 GB, free: 7.93 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.5659, allocations: 316 kB / 1.474 GB, free: 7.645 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.5773, allocations: 6.612 MB / 1.481 GB, free: 0.8789 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007154/0.578, allocations: 1.047 MB / 1.482 GB, free: 15.81 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009047/0.5789, allocations: 263 kB / 1.482 GB, free: 15.55 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006374/0.5795, allocations: 415.2 kB / 1.483 GB, free: 15.14 MB / 1.186 GB Notification: Performance of SimCode: time 1.222e-06/0.5795, allocations: 0 / 1.483 GB, free: 15.14 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06146/0.641, allocations: 23.28 MB / 1.505 GB, free: 8.102 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/15.87, allocations: 8.312 kB / 1.505 GB, free: 8.098 MB / 1.201 GB " [Timeout remaining time 283] (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 --stepSize=400 --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: 22.610756966052577]