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.00146/0.00146, allocations: 111.7 kB / 16.41 MB, free: 6.484 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.001632/0.001632, allocations: 187 kB / 17.34 MB, free: 5.762 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.16 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.311/2.311, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001688, allocations: 63.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9079/0.9096, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002822/0.9125, allocations: 1.59 MB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001452/0.9126, allocations: 53.25 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.9127, allocations: 1.25 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.9128, allocations: 5.203 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.822e-05/0.9128, allocations: 19.11 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.623e-05/0.9129, allocations: 17.69 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.9131, allocations: 69.17 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.9132, allocations: 17.89 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.616e-05/0.9133, allocations: 31.62 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.523e-05/0.9134, allocations: 30.06 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.9134, allocations: 6.094 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.78e-05/0.9134, allocations: 10.44 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.9134, allocations: 16.94 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.9135, allocations: 25.98 kB / 1.091 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.9136, allocations: 69.23 kB / 1.091 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.9137, allocations: 5.125 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9137, allocations: 0 / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.9137, allocations: 0 / 1.091 GB, free: 4.215 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.0005869/0.9143, allocations: 391.8 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.9143, allocations: 10.19 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.9144, allocations: 12.22 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.635e-05/0.9145, allocations: 169.4 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.9145, allocations: 10.72 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.9145, allocations: 11.48 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.9148, allocations: 90.33 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.9149, allocations: 1.703 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.9149, allocations: 0 / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.9149, allocations: 1.125 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/0.9153, allocations: 106.8 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.9157, allocations: 305.1 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.9161, allocations: 94.22 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.9163, allocations: 64.17 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.9164, allocations: 1.125 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.9164, allocations: 31.31 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.9164, allocations: 1.406 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.000736/0.9171, allocations: 196.1 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.9172, allocations: 52.31 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.489e-05/0.9172, allocations: 122 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.9173, allocations: 26.48 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.9173, allocations: 92.45 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.9173, allocations: 19.72 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.9174, allocations: 19.05 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.9174, allocations: 322.8 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.9176, allocations: 49.88 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.9179, allocations: 54.86 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.9183, allocations: 107 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.9183, allocations: 4.875 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004681/0.9187, allocations: 138.5 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.9188, allocations: 5.75 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.9188, allocations: 0.75 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.9188, allocations: 0.7188 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.919, allocations: 28.78 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.919, allocations: 0.8125 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.9191, allocations: 17.42 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.9191, allocations: 5.844 kB / 1.093 GB, free: 2.332 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.811e-05/0.9192, allocations: 112.9 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.9192, allocations: 15.91 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.9192, allocations: 14.14 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.9192, allocations: 6.391 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.9193, allocations: 448 / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9193, allocations: 0.6094 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.9194, allocations: 184.7 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.9194, allocations: 4.75 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.9196, allocations: 28.67 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.9196, allocations: 1.031 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.9196, allocations: 0.875 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.9196, allocations: 0.7031 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.9196, allocations: 4.875 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.9201, allocations: 235.1 kB / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.9201, allocations: 87.41 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.9201, allocations: 5.781 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.9203, allocations: 16.22 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.9203, allocations: 14.03 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.9203, allocations: 2.188 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.709e-05/0.9204, allocations: 95.05 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9204, allocations: 1.062 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002204/0.9206, allocations: 15.59 kB / 1.094 GB, free: 1.617 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.0001151/0.9207, allocations: 110.8 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004732/0.9212, allocations: 105.7 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9212, allocations: 0 / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.9215, allocations: 65.12 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.9217, allocations: 16.56 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.9221, allocations: 193.8 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.9223, allocations: 0.6862 MB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.9223, allocations: 15.19 kB / 1.095 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.9223, allocations: 0 / 1.095 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of Templates: time 0.003116/0.9255, allocations: 1.024 MB / 1.096 GB, free: 0.5391 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/jenkins1/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