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.001317/0.001317, allocations: 110.3 kB / 16.46 MB, free: 6.453 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.001464/0.001464, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.42/1.42, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.7 MB / 0.7672 GB, free: 5.215 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.002108/0.002108, allocations: 59.91 kB / 1.112 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7079/0.71, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007139/0.7171, allocations: 4.997 MB / 1.283 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1767/0.8938, allocations: 154 MB / 1.433 GB, free: 13.82 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007508/0.8946, allocations: 19.81 kB / 1.434 GB, free: 13.8 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000704/0.8953, allocations: 198.2 kB / 1.434 GB, free: 13.61 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.8971, allocations: 0.5608 MB / 1.434 GB, free: 13.05 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.8993, allocations: 0.8518 MB / 1.435 GB, free: 12.2 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001854/0.9012, allocations: 1.405 MB / 1.436 GB, free: 10.79 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009324/0.9021, allocations: 413.4 kB / 1.437 GB, free: 10.36 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009065/0.903, allocations: 0.5022 MB / 1.437 GB, free: 9.859 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00084/0.9039, allocations: 0.4978 MB / 1.438 GB, free: 9.359 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002525/0.9041, allocations: 116 kB / 1.438 GB, free: 9.246 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.9052, allocations: 0.5152 MB / 1.438 GB, free: 8.73 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003642/0.9056, allocations: 303 kB / 1.439 GB, free: 8.434 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007205/0.9063, allocations: 0.5596 MB / 1.439 GB, free: 7.871 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002564/0.9089, allocations: 1.665 MB / 1.441 GB, free: 6.199 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.9089, allocations: 0 / 1.441 GB, free: 6.199 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9089, allocations: 0 / 1.441 GB, free: 6.199 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.743e-05/0.9089, allocations: 4 kB / 1.441 GB, free: 6.195 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003155/0.9121, allocations: 1.494 MB / 1.442 GB, free: 4.645 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.9121, allocations: 12.03 kB / 1.442 GB, free: 4.633 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001978/0.9123, allocations: 131.3 kB / 1.442 GB, free: 4.496 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.9139, allocations: 232 kB / 1.443 GB, free: 4.27 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.9153, allocations: 0.7823 MB / 1.443 GB, free: 3.445 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/0.9154, allocations: 65.98 kB / 1.444 GB, free: 3.379 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.9155, allocations: 80 kB / 1.444 GB, free: 3.301 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.9175, allocations: 0.9114 MB / 1.445 GB, free: 2.348 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.9176, allocations: 0 / 1.445 GB, free: 2.348 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.426e-05/0.9177, allocations: 36 kB / 1.445 GB, free: 2.312 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.9177, allocations: 20 kB / 1.445 GB, free: 2.293 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.9197, allocations: 1.097 MB / 1.446 GB, free: 1.195 MB / 1.139 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.005159/0.9248, allocations: 2.772 MB / 1.448 GB, free: 14.3 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.9264, allocations: 0.7378 MB / 1.449 GB, free: 13.57 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005664/0.927, allocations: 270.7 kB / 1.449 GB, free: 13.3 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.702e-05/0.9271, allocations: 20.62 kB / 1.449 GB, free: 13.28 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009609/0.928, allocations: 496.7 kB / 1.45 GB, free: 12.78 MB / 1.154 GB Notification: Performance of pre-optimization done (n=78): time 2.325e-06/0.928, allocations: 4 kB / 1.45 GB, free: 12.77 MB / 1.154 GB Notification: Performance of matching and sorting (n=78): time 0.003527/0.9316, allocations: 1.182 MB / 1.451 GB, free: 11.56 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.9317, allocations: 188.6 kB / 1.451 GB, free: 11.34 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.9327, allocations: 0.6607 MB / 1.452 GB, free: 10.66 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.357e-05/0.9328, allocations: 41.7 kB / 1.452 GB, free: 10.62 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/0.9332, allocations: 408.9 kB / 1.452 GB, free: 10.21 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.9335, allocations: 265.8 kB / 1.452 GB, free: 9.949 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.9337, allocations: 142.6 kB / 1.453 GB, free: 9.805 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002208/0.934, allocations: 394.7 kB / 1.453 GB, free: 9.41 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005424/0.9345, allocations: 241.9 kB / 1.453 GB, free: 9.172 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006838/0.9352, allocations: 359.4 kB / 1.454 GB, free: 8.793 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.9364, allocations: 0.5729 MB / 1.454 GB, free: 8.203 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.9364, allocations: 3.938 kB / 1.454 GB, free: 8.199 MB / 1.154 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002128/0.9385, allocations: 0.8023 MB / 1.455 GB, free: 7.387 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.9386, allocations: 8 kB / 1.455 GB, free: 7.379 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.9386, allocations: 0 / 1.455 GB, free: 7.379 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006499/0.9392, allocations: 92.77 kB / 1.455 GB, free: 7.285 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/0.9399, allocations: 147.8 kB / 1.455 GB, free: 7.141 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.9422, allocations: 1.629 MB / 1.457 GB, free: 5.367 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007579/0.943, allocations: 83.53 kB / 1.457 GB, free: 5.285 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.293e-05/0.9431, allocations: 35.97 kB / 1.457 GB, free: 5.25 MB / 1.154 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.0004737/0.9435, allocations: 269.6 kB / 1.457 GB, free: 4.977 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.9438, allocations: 87.44 kB / 1.457 GB, free: 4.891 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/0.9464, allocations: 1.058 MB / 1.458 GB, free: 3.82 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.9464, allocations: 8 kB / 1.458 GB, free: 3.812 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9464, allocations: 3.938 kB / 1.458 GB, free: 3.809 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.9464, allocations: 3.984 kB / 1.458 GB, free: 3.805 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.9476, allocations: 0.8959 MB / 1.459 GB, free: 2.855 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.9476, allocations: 0 / 1.459 GB, free: 2.855 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005937/0.9482, allocations: 139.8 kB / 1.459 GB, free: 2.719 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004872/0.9487, allocations: 76.72 kB / 1.459 GB, free: 2.641 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.736e-05/0.9488, allocations: 23.98 kB / 1.459 GB, free: 2.617 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.951, allocations: 1.666 MB / 1.461 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.951, allocations: 0 / 1.461 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.9532, allocations: 0.9169 MB / 1.462 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004346/0.9536, allocations: 280.2 kB / 1.462 GB, free: 15.57 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.9538, allocations: 27.92 kB / 1.462 GB, free: 15.54 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006522/0.9544, allocations: 61.81 kB / 1.462 GB, free: 15.48 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.9546, allocations: 76.83 kB / 1.462 GB, free: 15.41 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/0.9547, allocations: 31.98 kB / 1.462 GB, free: 15.38 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006941/0.9554, allocations: 483 kB / 1.463 GB, free: 14.91 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9554, allocations: 0 / 1.463 GB, free: 14.91 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008936/0.9563, allocations: 315.2 kB / 1.463 GB, free: 14.6 MB / 1.17 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.004419/0.9607, allocations: 1.967 MB / 1.465 GB, free: 12.79 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001777/0.9625, allocations: 0.7689 MB / 1.466 GB, free: 12.01 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.9625, allocations: 0 / 1.466 GB, free: 12.01 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009989/0.9635, allocations: 484.2 kB / 1.466 GB, free: 11.52 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.9648, allocations: 310.7 kB / 1.467 GB, free: 11.25 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.9762, allocations: 6.245 MB / 1.473 GB, free: 4.84 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007753/0.9769, allocations: 1.027 MB / 1.474 GB, free: 3.785 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008491/0.9778, allocations: 274.6 kB / 1.474 GB, free: 3.512 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00069/0.9785, allocations: 395.3 kB / 1.474 GB, free: 3.125 MB / 1.17 GB Notification: Performance of SimCode: time 8.42e-07/0.9785, allocations: 0 / 1.474 GB, free: 3.125 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07853/1.057, allocations: 21.84 MB / 1.496 GB, free: 13.54 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.39, allocations: 21.23 kB / 1.496 GB, free: 13.53 MB / 1.201 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: 20.441630052169785]