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.001758/0.001758, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002256/0.002256, allocations: 220 kB / 22.24 MB, free: 5.109 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.812 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.161/3.161, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.002415/0.002415, allocations: 66.45 kB / 1.186 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3695, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006929/0.3764, allocations: 4.509 MB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1699/0.5463, allocations: 132.7 MB / 1.497 GB, free: 4.391 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.5475, allocations: 23.81 kB / 1.497 GB, free: 4.367 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009111/0.5484, allocations: 202.2 kB / 1.498 GB, free: 4.168 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.5508, allocations: 0.5619 MB / 1.498 GB, free: 3.605 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002496/0.5533, allocations: 0.8539 MB / 1.499 GB, free: 2.758 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002118/0.5554, allocations: 1.397 MB / 1.5 GB, free: 1.355 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009653/0.5563, allocations: 394 kB / 1.501 GB, free: 0.9453 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009107/0.5572, allocations: 0.506 MB / 1.501 GB, free: 448 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008342/0.5581, allocations: 449.9 kB / 1.502 GB, free: 15.99 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002987/0.5584, allocations: 116 kB / 1.502 GB, free: 15.88 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.5596, allocations: 495.5 kB / 1.502 GB, free: 15.4 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003855/0.56, allocations: 299 kB / 1.502 GB, free: 15.11 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006968/0.5607, allocations: 461.8 kB / 1.503 GB, free: 14.65 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00268/0.5633, allocations: 1.681 MB / 1.505 GB, free: 12.96 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.5634, allocations: 0 / 1.505 GB, free: 12.96 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5634, allocations: 0 / 1.505 GB, free: 12.96 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.709e-05/0.5634, allocations: 3.938 kB / 1.505 GB, free: 12.96 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.002801/0.5662, allocations: 1.408 MB / 1.506 GB, free: 11.52 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.5662, allocations: 12.03 kB / 1.506 GB, free: 11.51 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.5664, allocations: 139.3 kB / 1.506 GB, free: 11.36 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.5679, allocations: 232 kB / 1.506 GB, free: 11.14 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.5695, allocations: 0.7179 MB / 1.507 GB, free: 10.39 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.4e-05/0.5695, allocations: 62 kB / 1.507 GB, free: 10.33 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.5697, allocations: 83.94 kB / 1.507 GB, free: 10.25 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.5714, allocations: 1.174 MB / 1.508 GB, free: 8.969 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.5714, allocations: 0 / 1.508 GB, free: 8.969 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.573e-05/0.5715, allocations: 36 kB / 1.508 GB, free: 8.934 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.5715, allocations: 20 kB / 1.508 GB, free: 8.914 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.5733, allocations: 1.05 MB / 1.509 GB, free: 7.863 MB / 1.201 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.00422/0.5775, allocations: 2.291 MB / 1.512 GB, free: 5.508 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.579, allocations: 0.7366 MB / 1.512 GB, free: 4.762 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005358/0.5796, allocations: 266.7 kB / 1.513 GB, free: 4.5 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.708e-05/0.5796, allocations: 24.64 kB / 1.513 GB, free: 4.477 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009332/0.5806, allocations: 0.5761 MB / 1.513 GB, free: 3.855 MB / 1.201 GB Notification: Performance of pre-optimization done (n=78): time 2.745e-06/0.5806, allocations: 0 / 1.513 GB, free: 3.855 MB / 1.201 GB Notification: Performance of matching and sorting (n=78): time 0.00323/0.5838, allocations: 1.116 MB / 1.514 GB, free: 2.734 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.5839, allocations: 188.6 kB / 1.514 GB, free: 2.504 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009877/0.5849, allocations: 0.6606 MB / 1.515 GB, free: 1.832 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.585, allocations: 45.7 kB / 1.515 GB, free: 1.781 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.5854, allocations: 405 kB / 1.515 GB, free: 1.379 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.5857, allocations: 265.7 kB / 1.516 GB, free: 1.117 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.5859, allocations: 142.6 kB / 1.516 GB, free: 0.9727 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002229/0.5861, allocations: 390.7 kB / 1.516 GB, free: 0.582 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005359/0.5867, allocations: 245.9 kB / 1.516 GB, free: 348 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007186/0.5874, allocations: 487.9 kB / 1.517 GB, free: 15.8 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.5885, allocations: 0.5768 MB / 1.518 GB, free: 15.21 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5885, allocations: 0 / 1.518 GB, free: 15.21 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002096/0.5906, allocations: 0.8063 MB / 1.518 GB, free: 14.4 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.5906, allocations: 10.34 kB / 1.518 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5906, allocations: 0 / 1.518 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005994/0.5912, allocations: 92.67 kB / 1.518 GB, free: 14.3 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/0.5919, allocations: 147.8 kB / 1.519 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.5941, allocations: 1.523 MB / 1.52 GB, free: 12.51 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008306/0.595, allocations: 87.55 kB / 1.52 GB, free: 12.42 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/0.595, allocations: 27.98 kB / 1.52 GB, free: 12.39 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.0004921/0.5955, allocations: 273.6 kB / 1.52 GB, free: 12.12 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.5957, allocations: 87.44 kB / 1.52 GB, free: 12.03 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/0.5982, allocations: 1.054 MB / 1.522 GB, free: 10.97 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.5982, allocations: 8 kB / 1.522 GB, free: 10.96 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.5982, allocations: 3.938 kB / 1.522 GB, free: 10.96 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.5982, allocations: 3.984 kB / 1.522 GB, free: 10.95 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.5994, allocations: 0.7468 MB / 1.522 GB, free: 10.16 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.5994, allocations: 0 / 1.522 GB, free: 10.16 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005756/0.5999, allocations: 139.8 kB / 1.522 GB, free: 10.02 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004533/0.6004, allocations: 76.72 kB / 1.522 GB, free: 9.945 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.595e-05/0.6005, allocations: 23.98 kB / 1.522 GB, free: 9.922 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/0.6025, allocations: 1.551 MB / 1.524 GB, free: 8.254 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6025, allocations: 0 / 1.524 GB, free: 8.254 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.6046, allocations: 0.9205 MB / 1.525 GB, free: 7.309 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005252/0.6051, allocations: 207 kB / 1.525 GB, free: 7.105 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.6052, allocations: 16 kB / 1.525 GB, free: 7.09 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/0.6058, allocations: 63.94 kB / 1.525 GB, free: 7.027 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.606, allocations: 76.8 kB / 1.525 GB, free: 6.953 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.036e-05/0.6061, allocations: 35.97 kB / 1.525 GB, free: 6.918 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000684/0.6067, allocations: 479 kB / 1.526 GB, free: 6.453 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6067, allocations: 0 / 1.526 GB, free: 6.453 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008922/0.6076, allocations: 323.1 kB / 1.526 GB, free: 6.137 MB / 1.217 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.004384/0.612, allocations: 1.997 MB / 1.528 GB, free: 4.32 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001802/0.6138, allocations: 0.7609 MB / 1.529 GB, free: 3.547 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.6138, allocations: 0 / 1.529 GB, free: 3.547 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009831/0.6148, allocations: 0.4887 MB / 1.529 GB, free: 3.047 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.6162, allocations: 295.6 kB / 1.529 GB, free: 2.781 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.6281, allocations: 6.245 MB / 1.536 GB, free: 12.38 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.6286, allocations: 440 kB / 1.536 GB, free: 11.91 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.000892/0.6295, allocations: 270.5 kB / 1.536 GB, free: 11.64 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006578/0.6302, allocations: 403.3 kB / 1.537 GB, free: 11.24 MB / 1.233 GB Notification: Performance of SimCode: time 7.92e-07/0.6302, allocations: 0 / 1.537 GB, free: 11.24 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.068/0.6982, allocations: 23.41 MB / 1.56 GB, free: 4.141 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/15.04, allocations: 0 / 1.56 GB, free: 4.141 MB / 1.248 GB " [Timeout remaining time 285] (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.835339847952127]