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.001632/0.001632, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001971/0.001971, allocations: 218.2 kB / 22.25 MB, free: 5.258 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.398/1.398, allocations: 230.6 MB / 256 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.076/3.076, allocations: 0.49 GB / 0.7951 GB, free: 35.49 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",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.002023/0.002023, allocations: 71.19 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3081, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006846/0.3149, allocations: 4.682 MB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1745/0.4894, allocations: 132.7 MB / 1.46 GB, free: 7.59 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009918/0.4904, allocations: 27.81 kB / 1.46 GB, free: 7.562 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007345/0.4911, allocations: 202.1 kB / 1.46 GB, free: 7.363 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.4933, allocations: 0.58 MB / 1.461 GB, free: 6.785 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.4956, allocations: 0.8675 MB / 1.462 GB, free: 5.922 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002114/0.4977, allocations: 1.44 MB / 1.463 GB, free: 4.477 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008213/0.4985, allocations: 434.2 kB / 1.463 GB, free: 4.027 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008498/0.4993, allocations: 0.51 MB / 1.464 GB, free: 3.516 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007272/0.5001, allocations: 0.529 MB / 1.464 GB, free: 2.984 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.5003, allocations: 120 kB / 1.465 GB, free: 2.867 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.5015, allocations: 0.4996 MB / 1.465 GB, free: 2.367 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003363/0.5018, allocations: 307 kB / 1.465 GB, free: 2.066 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.5023, allocations: 485.6 kB / 1.466 GB, free: 1.59 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.505, allocations: 1.728 MB / 1.468 GB, free: 15.86 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.505, allocations: 0 / 1.468 GB, free: 15.86 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.764e-06/0.505, allocations: 0 / 1.468 GB, free: 15.86 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.916e-05/0.505, allocations: 0 / 1.468 GB, free: 15.86 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.002912/0.5079, allocations: 1.459 MB / 1.469 GB, free: 14.36 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.508, allocations: 8.031 kB / 1.469 GB, free: 14.36 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001772/0.5082, allocations: 139.6 kB / 1.469 GB, free: 14.21 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.5096, allocations: 239.9 kB / 1.469 GB, free: 13.98 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.5112, allocations: 0.7219 MB / 1.47 GB, free: 13.22 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.637e-05/0.5112, allocations: 66 kB / 1.47 GB, free: 13.16 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.5114, allocations: 84 kB / 1.47 GB, free: 13.07 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.5131, allocations: 1.189 MB / 1.471 GB, free: 11.79 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.5132, allocations: 0 / 1.471 GB, free: 11.79 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.522e-05/0.5133, allocations: 36 kB / 1.471 GB, free: 11.75 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.5133, allocations: 20 kB / 1.471 GB, free: 11.73 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.515, allocations: 1.081 MB / 1.472 GB, free: 10.64 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.004345/0.5194, allocations: 2.271 MB / 1.475 GB, free: 8.309 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.5209, allocations: 0.7601 MB / 1.475 GB, free: 7.543 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005335/0.5215, allocations: 282.7 kB / 1.476 GB, free: 7.266 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.238e-05/0.5215, allocations: 24.64 kB / 1.476 GB, free: 7.242 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009508/0.5225, allocations: 0.5897 MB / 1.476 GB, free: 6.609 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.755e-06/0.5225, allocations: 0 / 1.476 GB, free: 6.609 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003201/0.5257, allocations: 1.138 MB / 1.477 GB, free: 5.461 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.5258, allocations: 192.6 kB / 1.478 GB, free: 5.23 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009185/0.5267, allocations: 0.6723 MB / 1.478 GB, free: 4.551 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.21e-05/0.5268, allocations: 45.7 kB / 1.478 GB, free: 4.5 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.5272, allocations: 417 kB / 1.479 GB, free: 4.086 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.5274, allocations: 285.6 kB / 1.479 GB, free: 3.805 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.5276, allocations: 142.6 kB / 1.479 GB, free: 3.66 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.5278, allocations: 390.7 kB / 1.479 GB, free: 3.27 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/0.5283, allocations: 253.9 kB / 1.48 GB, free: 3.02 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006683/0.529, allocations: 495.1 kB / 1.48 GB, free: 2.48 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.5301, allocations: 0.5916 MB / 1.481 GB, free: 1.883 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5301, allocations: 0 / 1.481 GB, free: 1.883 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001965/0.532, allocations: 0.8256 MB / 1.482 GB, free: 1.043 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.532, allocations: 7.938 kB / 1.482 GB, free: 1.035 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.5321, allocations: 0 / 1.482 GB, free: 1.035 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000582/0.5326, allocations: 88.86 kB / 1.482 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.5333, allocations: 151.8 kB / 1.482 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.5354, allocations: 1.523 MB / 1.483 GB, free: 15.15 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008606/0.5363, allocations: 99.33 kB / 1.483 GB, free: 15.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/0.5364, allocations: 31.98 kB / 1.483 GB, free: 15.02 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.0006128/0.537, allocations: 266.2 kB / 1.484 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.5372, allocations: 87.44 kB / 1.484 GB, free: 14.67 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/0.5396, allocations: 1.078 MB / 1.485 GB, free: 13.58 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.5397, allocations: 8 kB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5397, allocations: 7.938 kB / 1.485 GB, free: 13.56 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.5397, allocations: 7.984 kB / 1.485 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.5408, allocations: 0.7625 MB / 1.486 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5408, allocations: 0 / 1.486 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006124/0.5414, allocations: 155.8 kB / 1.486 GB, free: 12.6 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004257/0.5419, allocations: 76.72 kB / 1.486 GB, free: 12.52 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.15e-05/0.5419, allocations: 23.98 kB / 1.486 GB, free: 12.5 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.5439, allocations: 1.543 MB / 1.487 GB, free: 10.83 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5439, allocations: 0 / 1.487 GB, free: 10.83 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.5466, allocations: 1.344 MB / 1.489 GB, free: 9.469 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/0.5471, allocations: 207 kB / 1.489 GB, free: 9.266 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.5472, allocations: 27.92 kB / 1.489 GB, free: 9.238 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005985/0.5478, allocations: 58.47 kB / 1.489 GB, free: 9.184 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.548, allocations: 84.86 kB / 1.489 GB, free: 9.098 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-05/0.548, allocations: 35.97 kB / 1.489 GB, free: 9.062 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006557/0.5487, allocations: 483 kB / 1.489 GB, free: 8.594 MB / 1.186 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5487, allocations: 0 / 1.489 GB, free: 8.594 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008595/0.5496, allocations: 335.1 kB / 1.49 GB, free: 8.266 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.004905/0.5545, allocations: 2.431 MB / 1.492 GB, free: 6.016 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001709/0.5562, allocations: 0.7882 MB / 1.493 GB, free: 5.211 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5562, allocations: 0 / 1.493 GB, free: 5.211 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009006/0.5571, allocations: 0.4887 MB / 1.493 GB, free: 4.715 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.5583, allocations: 309.1 kB / 1.494 GB, free: 4.434 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.5693, allocations: 6.451 MB / 1.5 GB, free: 13.83 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.5697, allocations: 452.7 kB / 1.5 GB, free: 13.36 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008389/0.5706, allocations: 270.8 kB / 1.501 GB, free: 13.09 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005895/0.5712, allocations: 411.3 kB / 1.501 GB, free: 12.68 MB / 1.201 GB Notification: Performance of SimCode: time 1.142e-06/0.5712, allocations: 0 / 1.501 GB, free: 12.68 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08324/0.6544, allocations: 24.11 MB / 1.525 GB, free: 4.859 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.37, allocations: 17.8 kB / 1.525 GB, free: 4.844 MB / 1.217 GB " [Timeout remaining time 285] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv --start-time 0 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 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.csv","/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: 20.97240981599316]