Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.HeatExchangers.DXCoils.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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00652/0.00652, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.00118/0.00118, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 67.89 kB / 0.9509 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8366/0.8378, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002538/0.8403, allocations: 1.61 MB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001219/0.8405, allocations: 49.75 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.8405, allocations: 1.281 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.8406, allocations: 5.25 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.238e-05/0.8406, allocations: 12.16 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.2e-05/0.8407, allocations: 25.69 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.57e-05/0.8408, allocations: 72.8 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.8409, allocations: 13.67 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.343e-05/0.841, allocations: 31.52 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.12e-05/0.8411, allocations: 30.94 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.8411, allocations: 5.562 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.8411, allocations: 9.781 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.8411, allocations: 16.94 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.8412, allocations: 30.62 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.8413, allocations: 67.59 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.8413, allocations: 4 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8413, allocations: 1 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.8413, allocations: 0 / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000544/0.8419, allocations: 397.3 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.8419, allocations: 9.688 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.842, allocations: 8.672 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.542e-05/0.842, allocations: 174.2 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.8421, allocations: 1.438 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.8421, allocations: 7.281 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.8424, allocations: 99.47 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.8424, allocations: 0 / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.8424, allocations: 8.938 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.8425, allocations: 1.469 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.8429, allocations: 98.83 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.8433, allocations: 309.5 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.8436, allocations: 92.94 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.8439, allocations: 61.19 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.8439, allocations: 4 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.8439, allocations: 36.52 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.8439, allocations: 0 / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0007894/0.8447, allocations: 193.3 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.8448, allocations: 52.41 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.572e-05/0.8448, allocations: 117.9 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.8449, allocations: 26.45 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.8449, allocations: 92.42 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.8449, allocations: 20.03 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.845, allocations: 19.02 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.479e-05/0.845, allocations: 326.3 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.8453, allocations: 50.28 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.8455, allocations: 50.55 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/0.8459, allocations: 109 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.8459, allocations: 4 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004862/0.8464, allocations: 142 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.8465, allocations: 10.44 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.8465, allocations: 0 / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.8465, allocations: 0.7188 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.8466, allocations: 25.58 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.8467, allocations: 0 / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.8468, allocations: 22.48 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.8468, allocations: 5 kB / 1.092 GB, free: 2.305 MB / 0.8575 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.65e-05/0.8469, allocations: 117.6 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.8469, allocations: 6.578 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.915e-05/0.8469, allocations: 12.12 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.8469, allocations: 0 / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.8469, allocations: 1.562 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.847, allocations: 0.7969 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.8471, allocations: 184.8 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.8471, allocations: 0 / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.8473, allocations: 37.22 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.8473, allocations: 1.062 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-06/0.8473, allocations: 0 / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.8473, allocations: 1.797 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8473, allocations: 0 / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.8478, allocations: 243.2 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.8478, allocations: 83.7 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.8479, allocations: 2.047 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.848, allocations: 16.81 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.8481, allocations: 9.562 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.8481, allocations: 1.469 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.982e-05/0.8481, allocations: 95.66 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.11e-07/0.8481, allocations: 4 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002338/0.8484, allocations: 23.59 kB / 1.093 GB, free: 1.594 MB / 0.8575 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 0.0001053/0.8485, allocations: 104.7 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005284/0.849, allocations: 112.5 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.849, allocations: 4 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.8493, allocations: 61.08 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.8496, allocations: 11.11 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.8499, allocations: 159 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.589e-05/0.85, allocations: 0.694 MB / 1.094 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.208e-05/0.8501, allocations: 2.703 kB / 1.094 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.8501, allocations: 10.06 kB / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.8501, allocations: 0 / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of Templates: time 0.003442/0.8536, allocations: 1.058 MB / 1.095 GB, free: 0.5156 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches