Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001783/0.001783, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002204/0.002204, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.785 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.705/2.705, allocations: 476 MB / 0.7699 GB, free: 4.711 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.SimpleHouse0,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.002246/0.002246, allocations: 65.86 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2925, allocations: 170 MB / 1.283 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006957/0.2994, allocations: 4.496 MB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1595/0.459, allocations: 132.7 MB / 1.416 GB, free: 2.758 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008335/0.4598, allocations: 23.81 kB / 1.417 GB, free: 2.734 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007917/0.4606, allocations: 198.2 kB / 1.417 GB, free: 2.539 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.4629, allocations: 0.5811 MB / 1.417 GB, free: 1.961 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.4655, allocations: 0.8439 MB / 1.418 GB, free: 1.121 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00228/0.4678, allocations: 1.405 MB / 1.419 GB, free: 15.71 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.4688, allocations: 393.9 kB / 1.42 GB, free: 15.3 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.4698, allocations: 0.5023 MB / 1.42 GB, free: 14.8 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009113/0.4707, allocations: 461.7 kB / 1.421 GB, free: 14.34 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003424/0.4711, allocations: 116 kB / 1.421 GB, free: 14.23 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.4724, allocations: 491.6 kB / 1.421 GB, free: 13.75 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004463/0.4728, allocations: 299.1 kB / 1.422 GB, free: 13.46 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008204/0.4737, allocations: 465.7 kB / 1.422 GB, free: 13 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002687/0.4763, allocations: 1.681 MB / 1.424 GB, free: 11.31 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4763, allocations: 0 / 1.424 GB, free: 11.31 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4763, allocations: 0 / 1.424 GB, free: 11.31 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.651e-05/0.4764, allocations: 4 kB / 1.424 GB, free: 11.31 MB / 1.123 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.003272/0.4797, allocations: 1.419 MB / 1.425 GB, free: 9.852 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.4797, allocations: 12.03 kB / 1.425 GB, free: 9.84 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002159/0.4799, allocations: 139.3 kB / 1.425 GB, free: 9.695 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.4815, allocations: 224 kB / 1.425 GB, free: 9.477 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.483, allocations: 0.7257 MB / 1.426 GB, free: 8.723 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/0.4831, allocations: 62 kB / 1.426 GB, free: 8.66 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.4833, allocations: 76 kB / 1.426 GB, free: 8.586 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.4852, allocations: 1.166 MB / 1.427 GB, free: 7.316 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.4853, allocations: 4 kB / 1.427 GB, free: 7.312 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.4854, allocations: 40 kB / 1.427 GB, free: 7.273 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.4854, allocations: 20 kB / 1.427 GB, free: 7.254 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.4873, allocations: 1.054 MB / 1.429 GB, free: 6.199 MB / 1.123 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.004694/0.492, allocations: 2.26 MB / 1.431 GB, free: 3.871 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.4936, allocations: 0.7485 MB / 1.431 GB, free: 3.113 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005585/0.4941, allocations: 270.6 kB / 1.432 GB, free: 2.848 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.745e-05/0.4942, allocations: 24.62 kB / 1.432 GB, free: 2.82 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.4952, allocations: 0.5738 MB / 1.432 GB, free: 2.207 MB / 1.123 GB Notification: Performance of pre-optimization done (n=78): time 2.635e-06/0.4952, allocations: 7.938 kB / 1.432 GB, free: 2.199 MB / 1.123 GB Notification: Performance of matching and sorting (n=78): time 0.00331/0.4985, allocations: 1.103 MB / 1.433 GB, free: 1.086 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.4987, allocations: 196.6 kB / 1.434 GB, free: 0.8516 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009965/0.4997, allocations: 0.6645 MB / 1.434 GB, free: 180 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.4998, allocations: 37.7 kB / 1.434 GB, free: 136 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.5002, allocations: 417 kB / 1.435 GB, free: 15.72 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003159/0.5005, allocations: 261.8 kB / 1.435 GB, free: 15.46 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.5008, allocations: 146.6 kB / 1.435 GB, free: 15.31 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.501, allocations: 390.7 kB / 1.435 GB, free: 14.92 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/0.5015, allocations: 241.9 kB / 1.436 GB, free: 14.69 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007243/0.5022, allocations: 491.9 kB / 1.436 GB, free: 14.14 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.5034, allocations: 0.5768 MB / 1.437 GB, free: 13.55 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5034, allocations: 0 / 1.437 GB, free: 13.55 MB / 1.139 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002028/0.5054, allocations: 0.7984 MB / 1.437 GB, free: 12.74 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.5054, allocations: 4 kB / 1.437 GB, free: 12.74 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5054, allocations: 4.125 kB / 1.437 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/0.506, allocations: 84.72 kB / 1.438 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/0.5067, allocations: 147.8 kB / 1.438 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.509, allocations: 1.531 MB / 1.439 GB, free: 10.86 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007916/0.5098, allocations: 85.72 kB / 1.439 GB, free: 10.77 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.5099, allocations: 31.92 kB / 1.439 GB, free: 10.74 MB / 1.139 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.0005325/0.5104, allocations: 269.5 kB / 1.44 GB, free: 10.47 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/0.5107, allocations: 95.5 kB / 1.44 GB, free: 10.38 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.5132, allocations: 1.042 MB / 1.441 GB, free: 9.32 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.5132, allocations: 16 kB / 1.441 GB, free: 9.305 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5132, allocations: 3.938 kB / 1.441 GB, free: 9.301 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.5132, allocations: 7.969 kB / 1.441 GB, free: 9.293 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.5145, allocations: 0.7469 MB / 1.441 GB, free: 8.504 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.5145, allocations: 4 kB / 1.441 GB, free: 8.5 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/0.5151, allocations: 135.8 kB / 1.442 GB, free: 8.367 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000458/0.5155, allocations: 76.78 kB / 1.442 GB, free: 8.289 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.5156, allocations: 23.98 kB / 1.442 GB, free: 8.266 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.5177, allocations: 1.551 MB / 1.443 GB, free: 6.598 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5177, allocations: 4.031 kB / 1.443 GB, free: 6.594 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.5198, allocations: 0.9166 MB / 1.444 GB, free: 5.652 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005515/0.5204, allocations: 191.1 kB / 1.444 GB, free: 5.465 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.5206, allocations: 31.88 kB / 1.444 GB, free: 5.434 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006411/0.5212, allocations: 65.91 kB / 1.444 GB, free: 5.371 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.5214, allocations: 72.8 kB / 1.444 GB, free: 5.301 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.527e-05/0.5214, allocations: 39.97 kB / 1.444 GB, free: 5.262 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006735/0.5221, allocations: 475 kB / 1.445 GB, free: 4.801 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.5221, allocations: 3.938 kB / 1.445 GB, free: 4.797 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008861/0.523, allocations: 319.2 kB / 1.445 GB, free: 4.484 MB / 1.139 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.004354/0.5274, allocations: 2 MB / 1.447 GB, free: 2.664 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001809/0.5292, allocations: 0.7612 MB / 1.448 GB, free: 1.895 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5292, allocations: 0 / 1.448 GB, free: 1.895 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.5302, allocations: 492.2 kB / 1.448 GB, free: 1.402 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.5315, allocations: 294.4 kB / 1.449 GB, free: 1.133 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.5431, allocations: 6.247 MB / 1.455 GB, free: 10.71 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.5436, allocations: 436 kB / 1.455 GB, free: 10.25 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009386/0.5445, allocations: 266.6 kB / 1.455 GB, free: 9.988 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006456/0.5452, allocations: 407.3 kB / 1.456 GB, free: 9.59 MB / 1.154 GB Notification: Performance of SimCode: time 7.11e-07/0.5452, allocations: 0 / 1.456 GB, free: 9.59 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06696/0.6121, allocations: 23.41 MB / 1.479 GB, free: 2.516 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.49, allocations: 3.938 kB / 1.479 GB, free: 2.512 MB / 1.17 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.csv --start-time 0 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.144098915159702]