Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001422/0.001422, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001569/0.001569, allocations: 212.4 kB / 22.24 MB, free: 4.855 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.328/1.328, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 179] 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 2.975/2.975, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.002011/0.002011, allocations: 65.02 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2837, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1787/0.4624, allocations: 148.2 MB / 1.508 GB, free: 9.316 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0227/0.4851, allocations: 15.94 MB / 1.524 GB, free: 9.332 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.4865, allocations: 39.69 kB / 1.524 GB, free: 9.293 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.4884, allocations: 0.5467 MB / 1.524 GB, free: 8.742 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005043/0.4935, allocations: 1.67 MB / 1.526 GB, free: 7.066 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003451/0.4969, allocations: 1.351 MB / 1.527 GB, free: 5.727 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00368/0.5006, allocations: 2.723 MB / 1.53 GB, free: 2.996 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.503, allocations: 1.512 MB / 1.531 GB, free: 1.426 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00398/0.507, allocations: 1.437 MB / 1.533 GB, free: 36 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.5085, allocations: 0.9059 MB / 1.534 GB, free: 15.12 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0004447/0.509, allocations: 212 kB / 1.534 GB, free: 14.92 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.5115, allocations: 1.283 MB / 1.535 GB, free: 13.63 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005175/0.512, allocations: 0.5685 MB / 1.536 GB, free: 13.06 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008777/0.5129, allocations: 0.8556 MB / 1.536 GB, free: 12.2 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003683/0.5166, allocations: 3.18 MB / 1.54 GB, free: 9.012 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.5166, allocations: 0 / 1.54 GB, free: 9.012 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5166, allocations: 0 / 1.54 GB, free: 9.012 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.257e-05/0.5166, allocations: 0 / 1.54 GB, free: 9.012 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.003603/0.5202, allocations: 2.298 MB / 1.542 GB, free: 6.664 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.5202, allocations: 8.031 kB / 1.542 GB, free: 6.656 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000291/0.5205, allocations: 249 kB / 1.542 GB, free: 6.402 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003952/0.5245, allocations: 0.5763 MB / 1.543 GB, free: 5.824 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.5264, allocations: 1.057 MB / 1.544 GB, free: 4.738 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.5265, allocations: 135.4 kB / 1.544 GB, free: 4.605 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/0.5268, allocations: 164 kB / 1.544 GB, free: 4.445 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003561/0.5303, allocations: 2.596 MB / 1.547 GB, free: 1.613 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.5303, allocations: 3.938 kB / 1.547 GB, free: 1.609 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.5305, allocations: 72 kB / 1.547 GB, free: 1.539 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/0.5305, allocations: 44 kB / 1.547 GB, free: 1.496 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003291/0.5338, allocations: 1.828 MB / 1.548 GB, free: 15.66 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007059/0.5409, allocations: 3.967 MB / 1.552 GB, free: 11.61 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/0.5437, allocations: 1.37 MB / 1.554 GB, free: 10.25 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.5448, allocations: 0.589 MB / 1.554 GB, free: 9.656 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009657/0.5458, allocations: 181.1 kB / 1.554 GB, free: 9.48 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001972/0.5478, allocations: 1.494 MB / 1.556 GB, free: 7.82 MB / 1.248 GB Notification: Performance of pre-optimization done (n=146): time 3.386e-06/0.5478, allocations: 0 / 1.556 GB, free: 7.82 MB / 1.248 GB Notification: Performance of matching and sorting (n=146): time 0.006097/0.5539, allocations: 2.188 MB / 1.558 GB, free: 5.609 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.554, allocations: 209.2 kB / 1.558 GB, free: 5.363 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.5552, allocations: 0.8593 MB / 1.559 GB, free: 4.48 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.5553, allocations: 61.7 kB / 1.559 GB, free: 4.414 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006142/0.5559, allocations: 0.6655 MB / 1.56 GB, free: 3.738 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004492/0.5563, allocations: 0.4996 MB / 1.56 GB, free: 3.234 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003883/0.5567, allocations: 238.8 kB / 1.56 GB, free: 2.996 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.5569, allocations: 353.9 kB / 1.561 GB, free: 2.645 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.5579, allocations: 474.4 kB / 1.561 GB, free: 2.18 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.5592, allocations: 0.856 MB / 1.562 GB, free: 1.227 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00215/0.5613, allocations: 1.099 MB / 1.563 GB, free: 124 kB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5613, allocations: 0 / 1.563 GB, free: 124 kB / 1.248 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003426/0.5648, allocations: 1.504 MB / 1.565 GB, free: 14.59 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.5648, allocations: 11.98 kB / 1.565 GB, free: 14.58 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5648, allocations: 0 / 1.565 GB, free: 14.58 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000897/0.5657, allocations: 192.2 kB / 1.565 GB, free: 14.38 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.5672, allocations: 327.6 kB / 1.565 GB, free: 14.06 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00622/0.5734, allocations: 6.748 MB / 1.572 GB, free: 6.734 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.5746, allocations: 151.1 kB / 1.572 GB, free: 6.586 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.5747, allocations: 51.95 kB / 1.572 GB, free: 6.535 MB / 1.264 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000725/0.5754, allocations: 373.6 kB / 1.572 GB, free: 6.16 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.5757, allocations: 139.1 kB / 1.572 GB, free: 6.023 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/0.5799, allocations: 1.851 MB / 1.574 GB, free: 4.145 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.5799, allocations: 12 kB / 1.574 GB, free: 4.133 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5799, allocations: 4 kB / 1.574 GB, free: 4.129 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.5799, allocations: 7.969 kB / 1.574 GB, free: 4.121 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006163/0.5861, allocations: 3.187 MB / 1.577 GB, free: 0.8633 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5861, allocations: 0 / 1.577 GB, free: 0.8633 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/0.5875, allocations: 323.5 kB / 1.578 GB, free: 0.5469 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007144/0.5882, allocations: 176.2 kB / 1.578 GB, free: 368 kB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.5883, allocations: 47.89 kB / 1.578 GB, free: 320 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006162/0.5944, allocations: 6.802 MB / 1.584 GB, free: 8.926 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5944, allocations: 0 / 1.584 GB, free: 8.926 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003842/0.5983, allocations: 1.718 MB / 1.586 GB, free: 7.176 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007825/0.5991, allocations: 330.5 kB / 1.586 GB, free: 6.852 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.5992, allocations: 32 kB / 1.586 GB, free: 6.82 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.6003, allocations: 103.7 kB / 1.587 GB, free: 6.723 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/0.6006, allocations: 117.1 kB / 1.587 GB, free: 6.605 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.6007, allocations: 75.94 kB / 1.587 GB, free: 6.531 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008456/0.6015, allocations: 0.5947 MB / 1.587 GB, free: 5.926 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/0.6015, allocations: 0 / 1.587 GB, free: 5.926 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001443/0.603, allocations: 0.6116 MB / 1.588 GB, free: 5.312 MB / 1.279 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006/0.609, allocations: 2.923 MB / 1.591 GB, free: 2.562 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003228/0.6122, allocations: 1.785 MB / 1.593 GB, free: 0.7109 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6122, allocations: 0.6562 kB / 1.593 GB, free: 0.7109 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001932/0.6142, allocations: 1.254 MB / 1.594 GB, free: 15.39 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.6162, allocations: 0.5328 MB / 1.594 GB, free: 14.89 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/0.6337, allocations: 10.04 MB / 1.604 GB, free: 4.668 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008638/0.6345, allocations: 0.7255 MB / 1.605 GB, free: 3.91 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00157/0.6361, allocations: 450.3 kB / 1.605 GB, free: 3.465 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009883/0.6371, allocations: 0.6554 MB / 1.606 GB, free: 2.809 MB / 1.295 GB Notification: Performance of SimCode: time 9.02e-07/0.6371, allocations: 0 / 1.606 GB, free: 2.809 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.606/1.243, allocations: 40.91 MB / 1.646 GB, free: 231.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.78, allocations: 8.359 kB / 1.646 GB, free: 231.9 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.045628959778696]