Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.0009718/0.0009718, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.000963/0.000963, allocations: 177 kB / 24.07 MB, free: 448 kB / 18.57 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 0.9648/0.9648, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 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 1.998/1.998, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0.875 kB / 0.8794 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.488e-06/1.082e-05, allocations: 2.969 kB / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.001921/0.001932, allocations: 1.794 MB / 0.8812 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001401/0.002072, allocations: 83.67 kB / 0.8813 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/0.002117, allocations: 4 kB / 0.8813 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.002147, allocations: 8.375 kB / 0.8813 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.693e-05/0.002204, allocations: 25.06 kB / 0.8813 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.483e-05/0.002288, allocations: 31.97 kB / 0.8813 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.002394, allocations: 109.3 kB / 0.8814 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.002503, allocations: 33.28 kB / 0.8815 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.376e-05/0.002597, allocations: 63.88 kB / 0.8815 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.428e-05/0.002641, allocations: 35.89 kB / 0.8816 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.002662, allocations: 12 kB / 0.8816 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-06/0.002671, allocations: 13.69 kB / 0.8816 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.002693, allocations: 19.92 kB / 0.8816 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.002721, allocations: 35.89 kB / 0.8816 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.116e-05/0.002813, allocations: 71.73 kB / 0.8817 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.002814, allocations: 6.75 kB / 0.8817 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.3e-07/0.002815, allocations: 4 kB / 0.8817 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.002818, allocations: 0 / 0.8817 GB, free: 3.664 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003457/0.003164, allocations: 440.1 kB / 0.8821 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.003193, allocations: 12.03 kB / 0.8821 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.003224, allocations: 16.89 kB / 0.8822 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.003335, allocations: 148.4 kB / 0.8823 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.003344, allocations: 8.375 kB / 0.8823 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.003356, allocations: 8.375 kB / 0.8823 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.003493, allocations: 99.88 kB / 0.8824 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.0035, allocations: 192 / 0.8824 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.003508, allocations: 384 / 0.8824 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.003512, allocations: 4.375 kB / 0.8824 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.656e-05/0.003548, allocations: 21.3 kB / 0.8824 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.003812, allocations: 328 kB / 0.8827 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.743e-05/0.003909, allocations: 58.97 kB / 0.8828 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.571e-05/0.003935, allocations: 19.81 kB / 0.8828 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.003943, allocations: 3.938 kB / 0.8828 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.003959, allocations: 37.39 kB / 0.8829 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.00396, allocations: 0 / 0.8829 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001229/0.004083, allocations: 57.81 kB / 0.8829 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.004108, allocations: 59.41 kB / 0.883 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.409e-05/0.004172, allocations: 185 kB / 0.8832 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.004181, allocations: 25.7 kB / 0.8832 GB, free: 2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.004228, allocations: 158.6 kB / 0.8833 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.004248, allocations: 27.78 kB / 0.8834 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.004277, allocations: 27.36 kB / 0.8834 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.004374, allocations: 0.4883 MB / 0.8839 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.00439, allocations: 7.984 kB / 0.8839 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.395e-05/0.004404, allocations: 7.938 kB / 0.8839 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.00444, allocations: 23.69 kB / 0.8839 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.004441, allocations: 384 / 0.8839 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.665e-05/0.004508, allocations: 61.64 kB / 0.884 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.004517, allocations: 4 kB / 0.884 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-06/0.004521, allocations: 0 / 0.884 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.00453, allocations: 8 kB / 0.884 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.74e-05/0.004587, allocations: 15.98 kB / 0.884 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.00459, allocations: 3.938 kB / 0.884 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.004622, allocations: 11.98 kB / 0.884 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/0.004627, allocations: 0 / 0.884 GB, free: 1.125 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.781e-05/0.004684, allocations: 160.5 kB / 0.8841 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.004702, allocations: 11.95 kB / 0.8842 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.081e-05/0.004723, allocations: 8.438 kB / 0.8842 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.004725, allocations: 0 / 0.8842 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.004726, allocations: 4 kB / 0.8842 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.004729, allocations: 7.984 kB / 0.8842 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.511e-05/0.004824, allocations: 121.2 kB / 0.8843 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004825, allocations: 0 / 0.8843 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.004867, allocations: 15.98 kB / 0.8843 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.02e-07/0.004868, allocations: 0 / 0.8843 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.004872, allocations: 4 kB / 0.8843 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.004872, allocations: 3.938 kB / 0.8843 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.004873, allocations: 0 / 0.8843 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.00498, allocations: 215.8 kB / 0.8845 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.004987, allocations: 11.95 kB / 0.8845 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-06/0.004996, allocations: 0 / 0.8845 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.628e-05/0.005042, allocations: 11.98 kB / 0.8845 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.005072, allocations: 7.984 kB / 0.8846 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.005075, allocations: 4 kB / 0.8846 GB, free: 500 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.005113, allocations: 143.1 kB / 0.8847 GB, free: 356 kB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.005113, allocations: 0 / 0.8847 GB, free: 356 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000139/0.005252, allocations: 19.95 kB / 0.8847 GB, free: 336 kB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.159e-05/0.005314, allocations: 95.25 kB / 0.8848 GB, free: 232 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.775e-05/0.005392, allocations: 39.73 kB / 0.8848 GB, free: 188 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.21e-07/0.005393, allocations: 0 / 0.8848 GB, free: 188 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.609e-05/0.005419, allocations: 23.67 kB / 0.8849 GB, free: 160 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.005602, allocations: 17.25 kB / 0.8849 GB, free: 144 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.005871, allocations: 198.2 kB / 0.8851 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.257e-05/0.005904, allocations: 71.2 kB / 0.8851 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.618e-05/0.00593, allocations: 7.984 kB / 0.8851 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.005988, allocations: 78.14 kB / 0.8852 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.005988, allocations: 0 / 0.8852 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of Templates: time 0.002577/0.008565, allocations: 1.276 MB / 0.8865 GB, free: 14.49 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.217818825971335]