Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001199/0.001199, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001371/0.001371, allocations: 215 kB / 20.13 MB, free: 2.949 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.479/1.479, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.898/2.898, allocations: 0.49 GB / 0.7923 GB, free: 1.352 MB / 0.6231 GB " [Timeout remaining time 176] 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.SimpleHouse0,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.001984/0.001984, allocations: 75.89 kB / 1.149 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8588/0.8607, allocations: 176.1 MB / 1.321 GB, free: 7.637 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007409/0.8682, allocations: 5.008 MB / 1.326 GB, free: 3.688 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1818/1.05, allocations: 154 MB / 1.477 GB, free: 6.586 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/1.051, allocations: 23.81 kB / 1.477 GB, free: 6.562 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007681/1.052, allocations: 198.1 kB / 1.477 GB, free: 6.367 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002141/1.054, allocations: 0.5683 MB / 1.477 GB, free: 5.801 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002256/1.056, allocations: 0.8502 MB / 1.478 GB, free: 4.957 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001815/1.058, allocations: 1.401 MB / 1.48 GB, free: 3.551 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007339/1.059, allocations: 421.2 kB / 1.48 GB, free: 3.109 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007553/1.06, allocations: 0.5022 MB / 1.481 GB, free: 2.605 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006384/1.06, allocations: 0.4958 MB / 1.481 GB, free: 2.109 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/1.061, allocations: 120 kB / 1.481 GB, free: 1.992 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/1.062, allocations: 0.5074 MB / 1.482 GB, free: 1.484 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002983/1.062, allocations: 303 kB / 1.482 GB, free: 1.188 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005527/1.063, allocations: 0.5635 MB / 1.482 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002354/1.065, allocations: 1.665 MB / 1.484 GB, free: 14.95 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.065, allocations: 0 / 1.484 GB, free: 14.95 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.482e-06/1.065, allocations: 0 / 1.484 GB, free: 14.95 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.911e-05/1.065, allocations: 0 / 1.484 GB, free: 14.95 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002843/1.068, allocations: 1.498 MB / 1.486 GB, free: 13.4 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/1.068, allocations: 15.98 kB / 1.486 GB, free: 13.39 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.83e-05/1.068, allocations: 22.19 kB / 1.486 GB, free: 13.36 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001582/1.068, allocations: 131.3 kB / 1.486 GB, free: 13.23 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/1.07, allocations: 236 kB / 1.486 GB, free: 13 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/1.071, allocations: 0.786 MB / 1.487 GB, free: 12.17 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.683e-05/1.071, allocations: 62 kB / 1.487 GB, free: 12.11 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/1.071, allocations: 80 kB / 1.487 GB, free: 12.03 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/1.073, allocations: 0.9075 MB / 1.488 GB, free: 11.08 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/1.073, allocations: 0 / 1.488 GB, free: 11.08 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.122e-05/1.073, allocations: 36 kB / 1.488 GB, free: 11.04 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/1.073, allocations: 20 kB / 1.488 GB, free: 11.02 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/1.075, allocations: 1.104 MB / 1.489 GB, free: 9.922 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.004133/1.079, allocations: 2.836 MB / 1.492 GB, free: 6.945 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/1.08, allocations: 0.7378 MB / 1.492 GB, free: 6.199 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/1.081, allocations: 266.7 kB / 1.493 GB, free: 5.938 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.878e-05/1.081, allocations: 32.61 kB / 1.493 GB, free: 5.902 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008856/1.082, allocations: 488.7 kB / 1.493 GB, free: 5.41 MB / 1.17 GB Notification: Performance of pre-optimization done (n=78): time 2.885e-06/1.082, allocations: 0 / 1.493 GB, free: 5.41 MB / 1.17 GB Notification: Performance of matching and sorting (n=78): time 0.003454/1.085, allocations: 1.179 MB / 1.494 GB, free: 4.203 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.085, allocations: 196.6 kB / 1.494 GB, free: 3.969 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009678/1.086, allocations: 0.6568 MB / 1.495 GB, free: 3.305 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.611e-05/1.086, allocations: 45.7 kB / 1.495 GB, free: 3.254 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/1.087, allocations: 405 kB / 1.496 GB, free: 2.852 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/1.087, allocations: 269.8 kB / 1.496 GB, free: 2.586 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/1.087, allocations: 146.5 kB / 1.496 GB, free: 2.434 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001938/1.087, allocations: 394.7 kB / 1.496 GB, free: 2.039 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/1.088, allocations: 241.8 kB / 1.497 GB, free: 1.805 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/1.089, allocations: 355.4 kB / 1.497 GB, free: 1.43 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/1.09, allocations: 0.5807 MB / 1.497 GB, free: 0.832 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.09, allocations: 0 / 1.497 GB, free: 0.832 MB / 1.17 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002043/1.092, allocations: 0.7984 MB / 1.498 GB, free: 24 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.092, allocations: 8 kB / 1.498 GB, free: 16 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.092, allocations: 0 / 1.498 GB, free: 16 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006524/1.092, allocations: 96.75 kB / 1.498 GB, free: 15.92 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/1.093, allocations: 147.8 kB / 1.498 GB, free: 15.77 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/1.095, allocations: 1.626 MB / 1.5 GB, free: 14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007417/1.096, allocations: 91.55 kB / 1.5 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/1.096, allocations: 31.98 kB / 1.5 GB, free: 13.88 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0004629/1.097, allocations: 277.7 kB / 1.5 GB, free: 13.59 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/1.097, allocations: 87.44 kB / 1.501 GB, free: 13.51 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/1.099, allocations: 1.042 MB / 1.502 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/1.099, allocations: 11.94 kB / 1.502 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/1.099, allocations: 0 / 1.502 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/1.099, allocations: 3.984 kB / 1.502 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/1.1, allocations: 0.8959 MB / 1.502 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.1, allocations: 0 / 1.502 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/1.101, allocations: 139.8 kB / 1.503 GB, free: 11.35 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004452/1.102, allocations: 72.78 kB / 1.503 GB, free: 11.27 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.824e-05/1.102, allocations: 23.98 kB / 1.503 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/1.104, allocations: 1.674 MB / 1.504 GB, free: 9.434 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.104, allocations: 0 / 1.504 GB, free: 9.434 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/1.106, allocations: 0.9205 MB / 1.505 GB, free: 8.488 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/1.106, allocations: 276.2 kB / 1.505 GB, free: 8.199 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/1.106, allocations: 19.94 kB / 1.505 GB, free: 8.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006361/1.107, allocations: 63.94 kB / 1.506 GB, free: 8.117 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/1.107, allocations: 76.83 kB / 1.506 GB, free: 8.043 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.161e-05/1.107, allocations: 31.98 kB / 1.506 GB, free: 8.012 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006848/1.108, allocations: 483 kB / 1.506 GB, free: 7.547 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/1.108, allocations: 0 / 1.506 GB, free: 7.547 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009426/1.109, allocations: 323.1 kB / 1.506 GB, free: 7.23 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.004272/1.113, allocations: 1.964 MB / 1.508 GB, free: 5.422 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00169/1.115, allocations: 0.7611 MB / 1.509 GB, free: 4.645 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.115, allocations: 4 kB / 1.509 GB, free: 4.641 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009293/1.116, allocations: 488.2 kB / 1.51 GB, free: 4.152 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/1.117, allocations: 302 kB / 1.51 GB, free: 3.879 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/1.127, allocations: 6.25 MB / 1.516 GB, free: 13.46 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006763/1.128, allocations: 1.024 MB / 1.517 GB, free: 12.42 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000863/1.129, allocations: 262.7 kB / 1.517 GB, free: 12.16 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005938/1.13, allocations: 399.3 kB / 1.518 GB, free: 11.77 MB / 1.201 GB Notification: Performance of SimCode: time 6.81e-07/1.13, allocations: 0 / 1.518 GB, free: 11.77 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0535/1.183, allocations: 21.89 MB / 1.539 GB, free: 6.133 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/15.04, allocations: 12 kB / 1.539 GB, free: 6.121 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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: 21.50929111102596]