Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001345/0.001345, allocations: 101.3 kB / 19.73 MB, free: 1.992 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.001392/0.001392, allocations: 215.6 kB / 23.03 MB, free: 4.422 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.392/1.392, allocations: 230.6 MB / 256.8 MB, free: 7.777 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 2.994/2.994, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.SimpleHouse1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.001988/0.001988, allocations: 71.31 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3158, allocations: 176.1 MB / 1.327 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.00707/0.3229, allocations: 4.678 MB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1611/0.484, allocations: 132.6 MB / 1.461 GB, free: 7.711 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.485, allocations: 23.81 kB / 1.461 GB, free: 7.688 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000885/0.4859, allocations: 202.2 kB / 1.461 GB, free: 7.488 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.4881, allocations: 0.5782 MB / 1.461 GB, free: 6.91 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.4904, allocations: 0.87 MB / 1.462 GB, free: 6.047 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001953/0.4924, allocations: 1.443 MB / 1.464 GB, free: 4.598 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009516/0.4933, allocations: 426.2 kB / 1.464 GB, free: 4.156 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009031/0.4942, allocations: 0.5178 MB / 1.465 GB, free: 3.637 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000834/0.4951, allocations: 0.5289 MB / 1.465 GB, free: 3.105 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002144/0.4953, allocations: 120 kB / 1.465 GB, free: 2.988 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009604/0.4962, allocations: 0.4918 MB / 1.466 GB, free: 2.496 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.4965, allocations: 311 kB / 1.466 GB, free: 2.191 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004864/0.497, allocations: 485.7 kB / 1.466 GB, free: 1.715 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.499, allocations: 1.728 MB / 1.468 GB, free: 15.98 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.499, allocations: 0 / 1.468 GB, free: 15.98 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.312e-06/0.499, allocations: 0 / 1.468 GB, free: 15.98 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.499, allocations: 0 / 1.468 GB, free: 15.98 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002605/0.5016, allocations: 1.447 MB / 1.47 GB, free: 14.5 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.5017, allocations: 16.02 kB / 1.47 GB, free: 14.48 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.926e-05/0.5017, allocations: 26.19 kB / 1.47 GB, free: 14.46 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/0.5019, allocations: 139.6 kB / 1.47 GB, free: 14.31 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.5033, allocations: 240 kB / 1.47 GB, free: 14.08 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.5046, allocations: 0.7256 MB / 1.471 GB, free: 13.32 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.5047, allocations: 62 kB / 1.471 GB, free: 13.26 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.5048, allocations: 87.98 kB / 1.471 GB, free: 13.18 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.5065, allocations: 1.189 MB / 1.472 GB, free: 11.88 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.5065, allocations: 3.938 kB / 1.472 GB, free: 11.88 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.025e-05/0.5066, allocations: 39.94 kB / 1.472 GB, free: 11.84 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.5066, allocations: 20 kB / 1.472 GB, free: 11.82 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.5084, allocations: 1.124 MB / 1.473 GB, free: 10.7 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.003885/0.5123, allocations: 2.263 MB / 1.475 GB, free: 8.367 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.5138, allocations: 0.7545 MB / 1.476 GB, free: 7.605 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.5143, allocations: 282.7 kB / 1.476 GB, free: 7.328 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.815e-05/0.5144, allocations: 28.62 kB / 1.476 GB, free: 7.301 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009984/0.5154, allocations: 0.5896 MB / 1.477 GB, free: 6.668 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.955e-06/0.5154, allocations: 0 / 1.477 GB, free: 6.668 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003326/0.5188, allocations: 1.142 MB / 1.478 GB, free: 5.516 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.5189, allocations: 196.6 kB / 1.478 GB, free: 5.281 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009524/0.5198, allocations: 0.6723 MB / 1.479 GB, free: 4.602 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.5199, allocations: 37.7 kB / 1.479 GB, free: 4.559 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.5203, allocations: 429 kB / 1.479 GB, free: 4.133 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.5205, allocations: 273.7 kB / 1.48 GB, free: 3.863 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.5208, allocations: 146.6 kB / 1.48 GB, free: 3.715 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.521, allocations: 394.7 kB / 1.48 GB, free: 3.32 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.5215, allocations: 245.9 kB / 1.48 GB, free: 3.078 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007048/0.5222, allocations: 491.1 kB / 1.481 GB, free: 2.543 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.5233, allocations: 0.5955 MB / 1.481 GB, free: 1.941 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5233, allocations: 0 / 1.481 GB, free: 1.941 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001963/0.5252, allocations: 0.8256 MB / 1.482 GB, free: 1.105 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.5253, allocations: 4 kB / 1.482 GB, free: 1.102 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.5253, allocations: 4 kB / 1.482 GB, free: 1.098 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/0.5259, allocations: 84.86 kB / 1.482 GB, free: 1.012 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006545/0.5265, allocations: 155.7 kB / 1.482 GB, free: 0.8594 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.5288, allocations: 1.531 MB / 1.484 GB, free: 15.21 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/0.5296, allocations: 91.58 kB / 1.484 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.5296, allocations: 31.97 kB / 1.484 GB, free: 15.09 MB / 1.186 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 (89): * Single equations (assignments): 88 * 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.0004846/0.5301, allocations: 258.2 kB / 1.484 GB, free: 14.82 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.5303, allocations: 95.39 kB / 1.484 GB, free: 14.73 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/0.5327, allocations: 1.078 MB / 1.486 GB, free: 13.63 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.5327, allocations: 8 kB / 1.486 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.5327, allocations: 0 / 1.486 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.5327, allocations: 3.984 kB / 1.486 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.5338, allocations: 0.7625 MB / 1.486 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.5338, allocations: 0 / 1.486 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006391/0.5345, allocations: 159.7 kB / 1.486 GB, free: 12.66 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000446/0.5349, allocations: 68.78 kB / 1.486 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-05/0.535, allocations: 31.91 kB / 1.487 GB, free: 12.56 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.537, allocations: 1.551 MB / 1.488 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.537, allocations: 4.062 kB / 1.488 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/0.5396, allocations: 1.344 MB / 1.489 GB, free: 9.52 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004402/0.5401, allocations: 207 kB / 1.49 GB, free: 9.316 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.5402, allocations: 23.94 kB / 1.49 GB, free: 9.293 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006519/0.5409, allocations: 69.8 kB / 1.49 GB, free: 9.227 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.541, allocations: 68.86 kB / 1.49 GB, free: 9.156 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.668e-05/0.5411, allocations: 35.98 kB / 1.49 GB, free: 9.121 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006806/0.5418, allocations: 487 kB / 1.49 GB, free: 8.652 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5418, allocations: 4.062 kB / 1.49 GB, free: 8.648 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009191/0.5427, allocations: 339.1 kB / 1.491 GB, free: 8.316 MB / 1.186 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 (93): * Single equations (assignments): 87 * 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.004996/0.5477, allocations: 2.421 MB / 1.493 GB, free: 6.074 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001728/0.5495, allocations: 0.7845 MB / 1.494 GB, free: 5.277 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.5495, allocations: 0 / 1.494 GB, free: 5.277 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009359/0.5504, allocations: 496.2 kB / 1.494 GB, free: 4.781 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.5517, allocations: 315.3 kB / 1.494 GB, free: 4.492 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.5626, allocations: 6.46 MB / 1.501 GB, free: 13.88 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.563, allocations: 448.8 kB / 1.501 GB, free: 13.41 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008591/0.5639, allocations: 262.9 kB / 1.501 GB, free: 13.15 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006084/0.5645, allocations: 411.3 kB / 1.502 GB, free: 12.75 MB / 1.201 GB Notification: Performance of SimCode: time 8.41e-07/0.5645, allocations: 0 / 1.502 GB, free: 12.75 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05757/0.6221, allocations: 23.67 MB / 1.525 GB, free: 5.438 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/15.91, allocations: 10.03 kB / 1.525 GB, free: 5.43 MB / 1.217 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.473919682088308]