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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001175/0.001175, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 196.9 kB / 16.79 MB, free: 6.809 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.414/1.414, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 67.89 kB / 0.8125 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7759/0.7775, allocations: 140.4 MB / 0.9496 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002676/0.7802, allocations: 1.649 MB / 0.9512 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001096/0.7803, allocations: 58.67 kB / 0.9513 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.7804, allocations: 5.375 kB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.676e-05/0.7804, allocations: 3.938 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.15e-05/0.7805, allocations: 10.67 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.491e-05/0.7806, allocations: 13.36 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.463e-05/0.7807, allocations: 72.59 kB / 0.9514 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.7808, allocations: 15.05 kB / 0.9514 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.462e-05/0.7809, allocations: 33.52 kB / 0.9514 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.402e-05/0.7809, allocations: 33.47 kB / 0.9514 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.781, allocations: 4.125 kB / 0.9514 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.781, allocations: 2.75 kB / 0.9515 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.781, allocations: 9.359 kB / 0.9515 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.781, allocations: 32.05 kB / 0.9515 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.831e-05/0.7811, allocations: 35.53 kB / 0.9515 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7811, allocations: 1.375 kB / 0.9515 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7811, allocations: 0 / 0.9515 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.7811, allocations: 0 / 0.9515 GB, free: 7.715 MB / 0.7169 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.000547/0.7817, allocations: 400.5 kB / 0.9519 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.7817, allocations: 9.875 kB / 0.9519 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.7818, allocations: 7.609 kB / 0.9519 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.94e-05/0.7819, allocations: 176.5 kB / 0.9521 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.7819, allocations: 6.125 kB / 0.9521 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.7819, allocations: 3.438 kB / 0.9521 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.7822, allocations: 103.1 kB / 0.9522 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.7822, allocations: 0 / 0.9522 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.7823, allocations: 1.125 kB / 0.9522 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.7823, allocations: 1.375 kB / 0.9522 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.7827, allocations: 111.6 kB / 0.9523 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.783, allocations: 301.8 kB / 0.9526 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.7834, allocations: 100.4 kB / 0.9527 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.7836, allocations: 61.23 kB / 0.9527 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.7836, allocations: 1.094 kB / 0.9528 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.7836, allocations: 31.47 kB / 0.9528 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.7836, allocations: 0 / 0.9528 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006826/0.7843, allocations: 196.3 kB / 0.953 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.7844, allocations: 52.69 kB / 0.953 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.272e-05/0.7844, allocations: 119.6 kB / 0.9531 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.7844, allocations: 35.28 kB / 0.9532 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.39e-05/0.7845, allocations: 85.67 kB / 0.9532 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.7845, allocations: 22.72 kB / 0.9533 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.7846, allocations: 25.58 kB / 0.9533 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.108e-05/0.7846, allocations: 324.8 kB / 0.9536 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.7848, allocations: 47.59 kB / 0.9536 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.785, allocations: 55.94 kB / 0.9537 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.7854, allocations: 103.8 kB / 0.9538 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7854, allocations: 0 / 0.9538 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000411/0.7858, allocations: 137.4 kB / 0.9539 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.7858, allocations: 4.969 kB / 0.9539 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7858, allocations: 0 / 0.9539 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.7858, allocations: 1.375 kB / 0.9539 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.786, allocations: 27.75 kB / 0.954 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.786, allocations: 5.406 kB / 0.954 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.7861, allocations: 21.38 kB / 0.954 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.7861, allocations: 1.438 kB / 0.954 GB, free: 5.527 MB / 0.7169 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 6.143e-05/0.7862, allocations: 117 kB / 0.9541 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.7862, allocations: 3.062 kB / 0.9541 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.7863, allocations: 13.75 kB / 0.9541 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.7863, allocations: 5.797 kB / 0.9541 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7863, allocations: 4 kB / 0.9541 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7863, allocations: 0 / 0.9541 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.7865, allocations: 186.5 kB / 0.9543 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7865, allocations: 1.312 kB / 0.9543 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.7866, allocations: 24.56 kB / 0.9543 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7866, allocations: 5.094 kB / 0.9543 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.7866, allocations: 4 kB / 0.9543 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.7866, allocations: 1.031 kB / 0.9543 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7867, allocations: 3.984 kB / 0.9543 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.7871, allocations: 240.7 kB / 0.9546 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.7871, allocations: 82.42 kB / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.7872, allocations: 5.203 kB / 0.9547 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.7873, allocations: 21.73 kB / 0.9547 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.7874, allocations: 11.64 kB / 0.9547 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.7874, allocations: 1.125 kB / 0.9547 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.7874, allocations: 92.02 kB / 0.9548 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7874, allocations: 1.062 kB / 0.9548 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002229/0.7876, allocations: 19 kB / 0.9548 GB, free: 4.75 MB / 0.7169 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.0001377/0.7878, allocations: 102.9 kB / 0.9549 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000444/0.7882, allocations: 114.6 kB / 0.955 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.7883, allocations: 0 / 0.955 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.7885, allocations: 58.75 kB / 0.9551 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.7888, allocations: 12.88 kB / 0.9551 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.7892, allocations: 205.5 kB / 0.9553 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.7893, allocations: 0.6927 MB / 0.9559 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.7894, allocations: 9.781 kB / 0.956 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.7894, allocations: 5.094 kB / 0.956 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of Templates: time 0.002211/0.7916, allocations: 1.017 MB / 0.957 GB, free: 3.141 MB / 0.7169 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