Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001961/0.001961, allocations: 103.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.001407/0.001407, 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.42/1.42, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.132/3.132, allocations: 0.505 GB / 0.8066 GB, free: 23.11 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.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_latest_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.00208/0.00208, allocations: 73.09 kB / 1.172 GB, free: 17.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3661, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.00793/0.374, allocations: 5.001 MB / 1.353 GB, free: 4.973 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1805/0.5545, allocations: 154 MB / 1.503 GB, free: 10.41 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000931/0.5554, allocations: 23.81 kB / 1.503 GB, free: 10.38 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008134/0.5562, allocations: 194.2 kB / 1.503 GB, free: 10.19 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002113/0.5584, allocations: 0.568 MB / 1.504 GB, free: 9.625 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.5606, allocations: 0.8457 MB / 1.505 GB, free: 8.785 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001888/0.5625, allocations: 1.397 MB / 1.506 GB, free: 7.383 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008595/0.5633, allocations: 421.3 kB / 1.506 GB, free: 6.945 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008708/0.5642, allocations: 0.4905 MB / 1.507 GB, free: 6.453 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008421/0.565, allocations: 0.5096 MB / 1.507 GB, free: 5.941 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002421/0.5653, allocations: 116 kB / 1.507 GB, free: 5.828 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.5664, allocations: 0.5074 MB / 1.508 GB, free: 5.32 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003445/0.5668, allocations: 295 kB / 1.508 GB, free: 5.031 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006998/0.5675, allocations: 0.5635 MB / 1.509 GB, free: 4.465 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.5698, allocations: 1.677 MB / 1.51 GB, free: 2.781 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5698, allocations: 0 / 1.51 GB, free: 2.781 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5698, allocations: 0 / 1.51 GB, free: 2.781 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.073e-05/0.5699, allocations: 0 / 1.51 GB, free: 2.781 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003127/0.573, allocations: 1.487 MB / 1.512 GB, free: 1.242 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.573, allocations: 15.98 kB / 1.512 GB, free: 1.227 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.5732, allocations: 131.3 kB / 1.512 GB, free: 1.09 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.5747, allocations: 240 kB / 1.512 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.576, allocations: 0.7862 MB / 1.513 GB, free: 28 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/0.5761, allocations: 66.03 kB / 1.513 GB, free: 15.96 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.5762, allocations: 80 kB / 1.513 GB, free: 15.88 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.5778, allocations: 0.9075 MB / 1.514 GB, free: 14.93 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.5778, allocations: 3.984 kB / 1.514 GB, free: 14.93 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-05/0.5779, allocations: 36 kB / 1.514 GB, free: 14.89 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.855e-05/0.5779, allocations: 20 kB / 1.514 GB, free: 14.88 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.5798, allocations: 1.1 MB / 1.515 GB, free: 13.77 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.004283/0.5841, allocations: 2.839 MB / 1.518 GB, free: 10.79 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.5856, allocations: 0.7425 MB / 1.519 GB, free: 10.04 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005318/0.5861, allocations: 266.7 kB / 1.519 GB, free: 9.777 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-05/0.5862, allocations: 32.61 kB / 1.519 GB, free: 9.746 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008849/0.5871, allocations: 487.8 kB / 1.519 GB, free: 9.25 MB / 1.217 GB Notification: Performance of pre-optimization done (n=78): time 2.174e-06/0.5871, allocations: 0 / 1.519 GB, free: 9.25 MB / 1.217 GB Notification: Performance of matching and sorting (n=78): time 0.003508/0.5906, allocations: 1.182 MB / 1.521 GB, free: 8.043 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.5907, allocations: 192.6 kB / 1.521 GB, free: 7.809 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000981/0.5917, allocations: 0.6529 MB / 1.521 GB, free: 7.148 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.806e-05/0.5918, allocations: 45.69 kB / 1.521 GB, free: 7.098 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.5922, allocations: 413 kB / 1.522 GB, free: 6.688 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.5924, allocations: 261.7 kB / 1.522 GB, free: 6.43 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.5927, allocations: 150.6 kB / 1.522 GB, free: 6.277 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002146/0.5929, allocations: 390.7 kB / 1.523 GB, free: 5.887 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005242/0.5934, allocations: 241.9 kB / 1.523 GB, free: 5.648 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/0.5941, allocations: 363.4 kB / 1.523 GB, free: 5.266 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.5952, allocations: 0.5807 MB / 1.524 GB, free: 4.672 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5952, allocations: 0 / 1.524 GB, free: 4.672 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00204/0.5972, allocations: 0.7984 MB / 1.524 GB, free: 3.867 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.5972, allocations: 4 kB / 1.524 GB, free: 3.863 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.5972, allocations: 4 kB / 1.524 GB, free: 3.859 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006231/0.5979, allocations: 84.83 kB / 1.525 GB, free: 3.773 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006051/0.5985, allocations: 147.8 kB / 1.525 GB, free: 3.629 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.6008, allocations: 1.632 MB / 1.526 GB, free: 1.848 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007115/0.6015, allocations: 95.64 kB / 1.526 GB, free: 1.754 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.756e-05/0.6016, allocations: 27.92 kB / 1.526 GB, free: 1.727 MB / 1.217 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.0004612/0.6021, allocations: 273.7 kB / 1.527 GB, free: 1.449 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.6022, allocations: 91.42 kB / 1.527 GB, free: 1.359 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.6047, allocations: 1.042 MB / 1.528 GB, free: 312 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.6047, allocations: 8 kB / 1.528 GB, free: 304 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.6047, allocations: 7.938 kB / 1.528 GB, free: 296 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.6047, allocations: 3.984 kB / 1.528 GB, free: 292 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.6059, allocations: 0.8959 MB / 1.529 GB, free: 15.34 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.6059, allocations: 0 / 1.529 GB, free: 15.34 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000572/0.6065, allocations: 143.8 kB / 1.529 GB, free: 15.2 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004529/0.6069, allocations: 76.78 kB / 1.529 GB, free: 15.12 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/0.607, allocations: 23.98 kB / 1.529 GB, free: 15.09 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.609, allocations: 1.662 MB / 1.531 GB, free: 13.29 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.609, allocations: 4.031 kB / 1.531 GB, free: 13.29 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.611, allocations: 0.9166 MB / 1.531 GB, free: 12.34 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/0.6114, allocations: 280.2 kB / 1.532 GB, free: 12.05 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.6115, allocations: 16 kB / 1.532 GB, free: 12.04 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/0.6122, allocations: 67.88 kB / 1.532 GB, free: 11.97 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.6123, allocations: 72.83 kB / 1.532 GB, free: 11.9 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.091e-05/0.6124, allocations: 31.98 kB / 1.532 GB, free: 11.87 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006368/0.613, allocations: 483 kB / 1.532 GB, free: 11.4 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.613, allocations: 0 / 1.532 GB, free: 11.4 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008565/0.6139, allocations: 319.2 kB / 1.533 GB, free: 11.09 MB / 1.232 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.004212/0.6181, allocations: 1.981 MB / 1.535 GB, free: 9.258 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001748/0.6199, allocations: 0.7651 MB / 1.535 GB, free: 8.48 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6199, allocations: 0 / 1.535 GB, free: 8.48 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009362/0.6208, allocations: 480.2 kB / 1.536 GB, free: 8 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.6221, allocations: 306.8 kB / 1.536 GB, free: 7.723 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.6326, allocations: 6.238 MB / 1.542 GB, free: 1.316 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006717/0.6333, allocations: 1.027 MB / 1.543 GB, free: 268 kB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008162/0.6341, allocations: 266.7 kB / 1.543 GB, free: 15.99 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005886/0.6347, allocations: 399.3 kB / 1.544 GB, free: 15.61 MB / 1.248 GB Notification: Performance of SimCode: time 7.62e-07/0.6347, allocations: 0 / 1.544 GB, free: 15.61 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06192/0.6966, allocations: 21.85 MB / 1.565 GB, free: 10 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.3, allocations: 11.73 kB / 1.565 GB, free: 9.992 MB / 1.264 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_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_SimpleHouse0.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.05151486187242]