Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001687/0.001687, allocations: 101.4 kB / 16.45 MB, free: 6.449 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.002044/0.002044, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.422/1.422, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.165/3.165, allocations: 0.505 GB / 0.8066 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.001994/0.001994, allocations: 76.73 kB / 1.172 GB, free: 17.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3022, allocations: 180.2 MB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007797/0.31, allocations: 5.298 MB / 1.353 GB, free: 4.695 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1714/0.4814, allocations: 154.1 MB / 1.503 GB, free: 10.05 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009982/0.4824, allocations: 23.81 kB / 1.503 GB, free: 10.03 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009626/0.4833, allocations: 206 kB / 1.504 GB, free: 9.828 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002719/0.4861, allocations: 0.5945 MB / 1.504 GB, free: 9.234 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.4885, allocations: 0.866 MB / 1.505 GB, free: 8.375 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002112/0.4906, allocations: 1.471 MB / 1.506 GB, free: 6.898 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.4917, allocations: 446.2 kB / 1.507 GB, free: 6.434 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009405/0.4926, allocations: 0.5255 MB / 1.507 GB, free: 5.906 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008705/0.4935, allocations: 0.5367 MB / 1.508 GB, free: 5.367 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002912/0.4938, allocations: 124 kB / 1.508 GB, free: 5.246 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.4949, allocations: 0.5113 MB / 1.509 GB, free: 4.734 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003688/0.4953, allocations: 318.9 kB / 1.509 GB, free: 4.422 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008928/0.4962, allocations: 0.5947 MB / 1.509 GB, free: 3.824 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002776/0.499, allocations: 1.743 MB / 1.511 GB, free: 2.074 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.499, allocations: 0 / 1.511 GB, free: 2.074 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.513e-06/0.499, allocations: 0 / 1.511 GB, free: 2.074 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.041e-05/0.499, allocations: 3.938 kB / 1.511 GB, free: 2.07 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003464/0.5025, allocations: 1.553 MB / 1.513 GB, free: 472 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.5025, allocations: 11.98 kB / 1.513 GB, free: 460 kB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002569/0.5028, allocations: 147.6 kB / 1.513 GB, free: 304 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.5044, allocations: 236 kB / 1.513 GB, free: 68 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.5058, allocations: 0.8096 MB / 1.514 GB, free: 15.21 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-05/0.5059, allocations: 69.98 kB / 1.514 GB, free: 15.14 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.506, allocations: 84 kB / 1.514 GB, free: 15.06 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.5079, allocations: 0.9574 MB / 1.515 GB, free: 14.07 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.5079, allocations: 0 / 1.515 GB, free: 14.07 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.575e-05/0.508, allocations: 36 kB / 1.515 GB, free: 14.03 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.508, allocations: 24 kB / 1.515 GB, free: 14.01 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.51, allocations: 1.132 MB / 1.516 GB, free: 12.87 MB / 1.217 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.004711/0.5147, allocations: 2.882 MB / 1.519 GB, free: 9.852 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.5164, allocations: 0.7928 MB / 1.52 GB, free: 9.051 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006116/0.517, allocations: 294.7 kB / 1.52 GB, free: 8.762 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-05/0.5171, allocations: 34.75 kB / 1.52 GB, free: 8.73 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009647/0.5181, allocations: 0.508 MB / 1.52 GB, free: 8.207 MB / 1.217 GB Notification: Performance of pre-optimization done (n=85): time 4.649e-06/0.5181, allocations: 3.984 kB / 1.52 GB, free: 8.203 MB / 1.217 GB Notification: Performance of matching and sorting (n=85): time 0.003604/0.5217, allocations: 1.255 MB / 1.522 GB, free: 6.918 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.5218, allocations: 192.9 kB / 1.522 GB, free: 6.688 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.5229, allocations: 0.6764 MB / 1.523 GB, free: 6.004 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.817e-05/0.523, allocations: 41.7 kB / 1.523 GB, free: 5.957 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/0.5234, allocations: 425.1 kB / 1.523 GB, free: 5.535 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/0.5237, allocations: 293.5 kB / 1.523 GB, free: 5.246 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.524, allocations: 154.6 kB / 1.523 GB, free: 5.09 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002187/0.5242, allocations: 390.8 kB / 1.524 GB, free: 4.699 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000586/0.5248, allocations: 253.9 kB / 1.524 GB, free: 4.449 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007048/0.5255, allocations: 374.5 kB / 1.524 GB, free: 4.059 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.5268, allocations: 0.6008 MB / 1.525 GB, free: 3.449 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5268, allocations: 0 / 1.525 GB, free: 3.449 MB / 1.217 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002245/0.529, allocations: 0.8452 MB / 1.526 GB, free: 2.59 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.529, allocations: 4 kB / 1.526 GB, free: 2.586 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.529, allocations: 8.094 kB / 1.526 GB, free: 2.578 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006546/0.5297, allocations: 80.77 kB / 1.526 GB, free: 2.496 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000758/0.5305, allocations: 159.8 kB / 1.526 GB, free: 2.34 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.5329, allocations: 1.636 MB / 1.528 GB, free: 0.5625 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000819/0.5337, allocations: 95.47 kB / 1.528 GB, free: 480 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.5338, allocations: 27.98 kB / 1.528 GB, free: 452 kB / 1.217 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 (92): * Single equations (assignments): 91 * 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.0005268/0.5343, allocations: 273.8 kB / 1.528 GB, free: 168 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/0.5346, allocations: 91.39 kB / 1.528 GB, free: 76 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/0.5372, allocations: 1.098 MB / 1.529 GB, free: 14.96 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.5373, allocations: 12 kB / 1.529 GB, free: 14.95 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.5373, allocations: 4 kB / 1.529 GB, free: 14.95 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.5373, allocations: 3.984 kB / 1.529 GB, free: 14.94 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.5386, allocations: 0.9426 MB / 1.53 GB, free: 13.95 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.5386, allocations: 7.938 kB / 1.53 GB, free: 13.95 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000688/0.5393, allocations: 155.8 kB / 1.53 GB, free: 13.79 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004633/0.5397, allocations: 72.78 kB / 1.53 GB, free: 13.72 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-05/0.5398, allocations: 27.92 kB / 1.53 GB, free: 13.69 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/0.5418, allocations: 1.662 MB / 1.532 GB, free: 11.88 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5418, allocations: 0 / 1.532 GB, free: 11.88 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/0.5448, allocations: 1.371 MB / 1.533 GB, free: 10.49 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004999/0.5453, allocations: 296 kB / 1.534 GB, free: 10.18 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.5455, allocations: 23.98 kB / 1.534 GB, free: 10.16 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007181/0.5462, allocations: 66.34 kB / 1.534 GB, free: 10.09 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.5464, allocations: 72.89 kB / 1.534 GB, free: 10.02 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.861e-05/0.5465, allocations: 35.98 kB / 1.534 GB, free: 9.988 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007474/0.5472, allocations: 491 kB / 1.534 GB, free: 9.512 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5472, allocations: 0 / 1.534 GB, free: 9.512 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009349/0.5482, allocations: 339.1 kB / 1.535 GB, free: 9.18 MB / 1.232 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 (96): * Single equations (assignments): 90 * 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.005223/0.5534, allocations: 2.427 MB / 1.537 GB, free: 6.898 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002142/0.5555, allocations: 0.7962 MB / 1.538 GB, free: 6.09 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5555, allocations: 0 / 1.538 GB, free: 6.09 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.5566, allocations: 0.5002 MB / 1.538 GB, free: 5.578 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.558, allocations: 303.2 kB / 1.539 GB, free: 5.305 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.5705, allocations: 6.614 MB / 1.545 GB, free: 14.54 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008411/0.5713, allocations: 1.043 MB / 1.546 GB, free: 13.46 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009702/0.5723, allocations: 274.9 kB / 1.546 GB, free: 13.19 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006955/0.573, allocations: 407.3 kB / 1.547 GB, free: 12.79 MB / 1.248 GB Notification: Performance of SimCode: time 1.663e-06/0.573, allocations: 3.938 kB / 1.547 GB, free: 12.79 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06575/0.6388, allocations: 22.67 MB / 1.569 GB, free: 6.367 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/14.69, allocations: 0 / 1.569 GB, free: 6.367 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv --start-time 0 --stop-time 1e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.45527580520138]