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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 112.1 kB / 17.54 MB, free: 4.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.485/2.485, allocations: 476.7 MB / 0.7628 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 63.89 kB / 1.107 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7181/0.7199, allocations: 168.7 MB / 1.271 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005336/0.7253, allocations: 4.989 MB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1655/0.8908, allocations: 151.2 MB / 1.424 GB, free: 3.809 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000913/0.8917, allocations: 19.03 kB / 1.424 GB, free: 3.801 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000706/0.8924, allocations: 190.5 kB / 1.424 GB, free: 3.633 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.8943, allocations: 0.5521 MB / 1.425 GB, free: 3.219 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.8963, allocations: 0.8516 MB / 1.425 GB, free: 2.566 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.8977, allocations: 1.376 MB / 1.427 GB, free: 1.707 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006238/0.8983, allocations: 417 kB / 1.427 GB, free: 1.398 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005424/0.8989, allocations: 484.2 kB / 1.428 GB, free: 1.113 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005677/0.8994, allocations: 0.4901 MB / 1.428 GB, free: 0.7656 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.8996, allocations: 114.6 kB / 1.428 GB, free: 0.7656 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008132/0.9004, allocations: 485.5 kB / 1.429 GB, free: 0.582 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.9006, allocations: 298.3 kB / 1.429 GB, free: 356 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004689/0.9011, allocations: 0.5553 MB / 1.429 GB, free: 15.93 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.9028, allocations: 1.622 MB / 1.431 GB, free: 14.77 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.9028, allocations: 1.344 kB / 1.431 GB, free: 14.77 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9028, allocations: 0 / 1.431 GB, free: 14.77 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.9028, allocations: 0 / 1.431 GB, free: 14.77 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.002256/0.905, allocations: 1.462 MB / 1.433 GB, free: 13.61 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.9051, allocations: 9.906 kB / 1.433 GB, free: 13.61 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/0.9052, allocations: 131.8 kB / 1.433 GB, free: 13.5 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008351/0.9061, allocations: 195.5 kB / 1.433 GB, free: 13.4 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.9071, allocations: 0.7738 MB / 1.434 GB, free: 12.76 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.215e-05/0.9072, allocations: 59.72 kB / 1.434 GB, free: 12.73 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.9073, allocations: 80.89 kB / 1.434 GB, free: 12.71 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.9086, allocations: 0.9165 MB / 1.435 GB, free: 12.11 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.9086, allocations: 0 / 1.435 GB, free: 12.11 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.009e-05/0.9087, allocations: 40.84 kB / 1.435 GB, free: 12.08 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.9087, allocations: 21.19 kB / 1.435 GB, free: 12.08 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.9104, allocations: 1.096 MB / 1.436 GB, free: 11.55 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.003584/0.9139, allocations: 2.74 MB / 1.438 GB, free: 9.332 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.9153, allocations: 0.7428 MB / 1.439 GB, free: 8.672 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.9158, allocations: 270.7 kB / 1.439 GB, free: 8.406 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.371e-05/0.9159, allocations: 32.61 kB / 1.439 GB, free: 8.371 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007761/0.9167, allocations: 484.7 kB / 1.44 GB, free: 7.883 MB / 1.123 GB Notification: Performance of pre-optimization done (n=78): time 1.994e-06/0.9167, allocations: 0 / 1.44 GB, free: 7.883 MB / 1.123 GB Notification: Performance of matching and sorting (n=78): time 0.002951/0.9196, allocations: 1.182 MB / 1.441 GB, free: 6.672 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.9197, allocations: 196.6 kB / 1.441 GB, free: 6.438 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007261/0.9205, allocations: 0.6294 MB / 1.442 GB, free: 5.801 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.864e-05/0.9205, allocations: 49.64 kB / 1.442 GB, free: 5.746 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.9208, allocations: 401 kB / 1.442 GB, free: 5.348 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.921, allocations: 269.7 kB / 1.443 GB, free: 5.082 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.9212, allocations: 142.6 kB / 1.443 GB, free: 4.938 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.9214, allocations: 390.7 kB / 1.443 GB, free: 4.547 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004728/0.9219, allocations: 245.8 kB / 1.443 GB, free: 4.305 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/0.9225, allocations: 363.5 kB / 1.444 GB, free: 3.922 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.9235, allocations: 0.5768 MB / 1.444 GB, free: 3.332 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.9235, allocations: 4 kB / 1.444 GB, free: 3.328 MB / 1.123 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001722/0.9252, allocations: 0.7945 MB / 1.445 GB, free: 2.523 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.9252, allocations: 11.94 kB / 1.445 GB, free: 2.512 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.9252, allocations: 0 / 1.445 GB, free: 2.512 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005448/0.9258, allocations: 84.84 kB / 1.445 GB, free: 2.426 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005697/0.9263, allocations: 147.8 kB / 1.445 GB, free: 2.281 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.9283, allocations: 1.623 MB / 1.447 GB, free: 0.5117 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/0.9289, allocations: 95.56 kB / 1.447 GB, free: 428 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.929, allocations: 31.97 kB / 1.447 GB, free: 396 kB / 1.123 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.0003419/0.9293, allocations: 266.3 kB / 1.447 GB, free: 120 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.9295, allocations: 87.44 kB / 1.447 GB, free: 32 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.9317, allocations: 1.042 MB / 1.448 GB, free: 14.96 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.9317, allocations: 8 kB / 1.448 GB, free: 14.96 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.9317, allocations: 3.938 kB / 1.448 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.9317, allocations: 3.984 kB / 1.448 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.9328, allocations: 0.8958 MB / 1.449 GB, free: 14.01 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.9328, allocations: 4 kB / 1.449 GB, free: 14 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.9333, allocations: 143.7 kB / 1.449 GB, free: 13.86 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004057/0.9337, allocations: 64.8 kB / 1.449 GB, free: 13.8 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/0.9338, allocations: 31.97 kB / 1.449 GB, free: 13.77 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.9356, allocations: 1.658 MB / 1.451 GB, free: 11.96 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9356, allocations: 0 / 1.451 GB, free: 11.96 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.9375, allocations: 0.9205 MB / 1.452 GB, free: 11.02 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.9378, allocations: 276.2 kB / 1.452 GB, free: 10.73 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.9379, allocations: 19.98 kB / 1.452 GB, free: 10.71 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005666/0.9385, allocations: 59.94 kB / 1.452 GB, free: 10.66 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.9386, allocations: 72.83 kB / 1.452 GB, free: 10.58 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.9387, allocations: 35.92 kB / 1.452 GB, free: 10.55 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005377/0.9392, allocations: 463 kB / 1.453 GB, free: 10.1 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.9392, allocations: 3.938 kB / 1.453 GB, free: 10.09 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0007809/0.94, allocations: 319.2 kB / 1.453 GB, free: 9.781 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.003781/0.9438, allocations: 1.963 MB / 1.455 GB, free: 7.973 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.9453, allocations: 0.7687 MB / 1.456 GB, free: 7.191 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.9453, allocations: 0 / 1.456 GB, free: 7.191 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008719/0.9462, allocations: 488.5 kB / 1.456 GB, free: 6.703 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.9473, allocations: 311.5 kB / 1.457 GB, free: 6.422 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00956/0.9569, allocations: 6.171 MB / 1.463 GB, free: 132 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.9575, allocations: 1.018 MB / 1.464 GB, free: 15.09 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007123/0.9582, allocations: 270.6 kB / 1.464 GB, free: 14.82 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005158/0.9587, allocations: 387.3 kB / 1.464 GB, free: 14.44 MB / 1.154 GB Notification: Performance of SimCode: time 9.12e-07/0.9587, allocations: 0 / 1.464 GB, free: 14.44 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05676/1.015, allocations: 21.61 MB / 1.485 GB, free: 9.031 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/13.04, allocations: 5.281 kB / 1.485 GB, free: 9.027 MB / 1.17 GB " [Timeout remaining time 287] (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: 18.56167135800206]