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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 119 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 183.9 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 469.4 MB / 0.7428 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.84 kB / 1.066 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 159.1 MB / 1.221 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003409/1.012, allocations: 1.753 MB / 1.223 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002377/1.012, allocations: 83.67 kB / 1.223 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.124e-05/1.012, allocations: 4 kB / 1.223 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.453e-05/1.012, allocations: 11.86 kB / 1.223 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.914e-05/1.013, allocations: 15.8 kB / 1.223 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/1.013, allocations: 35.95 kB / 1.223 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/1.013, allocations: 103.7 kB / 1.223 GB, free: 352 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/1.013, allocations: 49.09 kB / 1.223 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/1.013, allocations: 43.86 kB / 1.223 GB, free: 260 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.969e-05/1.013, allocations: 51.75 kB / 1.223 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/1.013, allocations: 8 kB / 1.223 GB, free: 200 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.987e-05/1.013, allocations: 12 kB / 1.223 GB, free: 188 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.181e-05/1.013, allocations: 27.92 kB / 1.223 GB, free: 160 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/1.013, allocations: 51.72 kB / 1.223 GB, free: 108 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/1.013, allocations: 123.2 kB / 1.223 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/1.014, allocations: 0 / 1.223 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.753e-06/1.014, allocations: 0 / 1.223 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.572e-06/1.014, allocations: 0 / 1.223 GB, free: 15.99 MB / 0.9512 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.0007169/1.014, allocations: 433 kB / 1.224 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/1.014, allocations: 12.03 kB / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/1.014, allocations: 12.75 kB / 1.224 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/1.015, allocations: 200.1 kB / 1.224 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/1.015, allocations: 8.375 kB / 1.224 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/1.015, allocations: 8.375 kB / 1.224 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/1.015, allocations: 120.4 kB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/1.015, allocations: 192 / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/1.015, allocations: 11.94 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/1.015, allocations: 4 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000523/1.016, allocations: 115.9 kB / 1.224 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/1.016, allocations: 384.4 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/1.017, allocations: 94.44 kB / 1.225 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/1.017, allocations: 60.94 kB / 1.225 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/1.017, allocations: 0 / 1.225 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/1.017, allocations: 30.56 kB / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/1.017, allocations: 0 / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0007382/1.018, allocations: 201.4 kB / 1.225 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/1.018, allocations: 59.34 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/1.018, allocations: 124.8 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/1.018, allocations: 25.7 kB / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/1.018, allocations: 108 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/1.018, allocations: 19.64 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/1.018, allocations: 17.72 kB / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.018, allocations: 326.8 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/1.018, allocations: 47.95 kB / 1.226 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/1.018, allocations: 51.94 kB / 1.226 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/1.019, allocations: 109.1 kB / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.019, allocations: 0 / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004687/1.019, allocations: 145.5 kB / 1.226 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.019, allocations: 11.92 kB / 1.226 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.019, allocations: 3.938 kB / 1.226 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.019, allocations: 0 / 1.226 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/1.02, allocations: 31.91 kB / 1.226 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.02, allocations: 0 / 1.226 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/1.02, allocations: 11.98 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/1.02, allocations: 8 kB / 1.226 GB, free: 13.03 MB / 0.9512 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 9.246e-05/1.02, allocations: 122.4 kB / 1.226 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/1.02, allocations: 7.906 kB / 1.226 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/1.02, allocations: 8.375 kB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.02, allocations: 3.938 kB / 1.226 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.02, allocations: 0 / 1.226 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/1.02, allocations: 85.02 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/1.02, allocations: 3.984 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/1.02, allocations: 19.98 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/1.02, allocations: 7.984 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005596/1.021, allocations: 240.8 kB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005183/1.021, allocations: 322.6 kB / 1.227 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000221/1.021, allocations: 59.94 kB / 1.227 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.678e-05/1.022, allocations: 95.27 kB / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of Backend: time 4.51e-07/1.022, allocations: 0 / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005742/1.022, allocations: 142.3 kB / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of SimCode: time 0.000732/1.023, allocations: 0.6325 MB / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of Templates: time 0.004157/1.027, allocations: 1.301 MB / 1.229 GB, free: 9.895 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches