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.001239/0.001238, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001314/0.001314, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.373/1.373, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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.314/2.314, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 63.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5874/0.5897, allocations: 140.4 MB / 0.9491 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002394/0.5922, allocations: 1.645 MB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001115/0.5923, allocations: 50.69 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.5923, allocations: 0 / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.5924, allocations: 5.312 kB / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.6e-05/0.5924, allocations: 13.23 kB / 0.9508 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.712e-05/0.5925, allocations: 17.36 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.592e-05/0.5926, allocations: 77.95 kB / 0.9509 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.5927, allocations: 23.03 kB / 0.9509 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.795e-05/0.5928, allocations: 25.55 kB / 0.9509 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.5928, allocations: 37.41 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.5929, allocations: 5.5 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.5929, allocations: 6.875 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.5929, allocations: 13.36 kB / 0.951 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.5929, allocations: 30.67 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.242e-05/0.593, allocations: 67.5 kB / 0.9511 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.593, allocations: 0 / 0.9511 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.362e-06/0.593, allocations: 0 / 0.9511 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.593, allocations: 1.375 kB / 0.9511 GB, free: 7.539 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.0005058/0.5936, allocations: 400.2 kB / 0.9515 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.5936, allocations: 9.625 kB / 0.9515 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.5936, allocations: 3.688 kB / 0.9515 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.48e-05/0.5937, allocations: 172.4 kB / 0.9516 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.5937, allocations: 3.125 kB / 0.9516 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.5938, allocations: 7.109 kB / 0.9517 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.594, allocations: 99.5 kB / 0.9517 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.5941, allocations: 0 / 0.9517 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.5941, allocations: 4 kB / 0.9517 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.5941, allocations: 1.312 kB / 0.9518 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/0.5945, allocations: 104.9 kB / 0.9519 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.5949, allocations: 305.1 kB / 0.9521 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.5952, allocations: 91.8 kB / 0.9522 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.5954, allocations: 61.08 kB / 0.9523 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.5954, allocations: 1.031 kB / 0.9523 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.191e-05/0.5955, allocations: 39.78 kB / 0.9523 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.5955, allocations: 0 / 0.9523 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006449/0.5961, allocations: 196.2 kB / 0.9525 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.5961, allocations: 52.44 kB / 0.9526 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.98e-05/0.5962, allocations: 121.3 kB / 0.9527 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.5962, allocations: 25.7 kB / 0.9527 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.786e-05/0.5963, allocations: 90.92 kB / 0.9528 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.5963, allocations: 26.09 kB / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.5963, allocations: 21.16 kB / 0.9528 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.937e-05/0.5964, allocations: 325.6 kB / 0.9531 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.5966, allocations: 54.88 kB / 0.9532 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.5967, allocations: 48.53 kB / 0.9532 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.5971, allocations: 110.8 kB / 0.9534 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5971, allocations: 1.5 kB / 0.9534 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004016/0.5975, allocations: 136.6 kB / 0.9535 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.5975, allocations: 4.844 kB / 0.9535 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5976, allocations: 4 kB / 0.9535 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.5976, allocations: 1.281 kB / 0.9535 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.5977, allocations: 24.59 kB / 0.9535 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5977, allocations: 1.531 kB / 0.9535 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.5978, allocations: 25.56 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.5979, allocations: 1.5 kB / 0.9535 GB, free: 5.359 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 5.888e-05/0.5979, allocations: 120.2 kB / 0.9537 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.5979, allocations: 2.75 kB / 0.9537 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.598, allocations: 13.86 kB / 0.9537 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.598, allocations: 1.438 kB / 0.9537 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.598, allocations: 0 / 0.9537 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.598, allocations: 1.5 kB / 0.9537 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.5982, allocations: 186.5 kB / 0.9539 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5982, allocations: 3.938 kB / 0.9539 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.5983, allocations: 25.5 kB / 0.9539 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.5983, allocations: 4 kB / 0.9539 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.5983, allocations: 5.422 kB / 0.9539 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5983, allocations: 4 kB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5984, allocations: 5.672 kB / 0.9539 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.5988, allocations: 234.7 kB / 0.9541 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.5988, allocations: 86.97 kB / 0.9542 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.5988, allocations: 1.531 kB / 0.9542 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.599, allocations: 18.17 kB / 0.9542 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.599, allocations: 6.422 kB / 0.9542 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.599, allocations: 1.094 kB / 0.9542 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.5991, allocations: 101.3 kB / 0.9543 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5991, allocations: 3.938 kB / 0.9543 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002501/0.5993, allocations: 28.09 kB / 0.9544 GB, free: 4.57 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.0001267/0.5995, allocations: 98.31 kB / 0.9545 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004526/0.5999, allocations: 111.2 kB / 0.9546 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5999, allocations: 4 kB / 0.9546 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.6002, allocations: 61.56 kB / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.6005, allocations: 9.219 kB / 0.9546 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.6008, allocations: 189.1 kB / 0.9548 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.601, allocations: 0.6916 MB / 0.9555 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.327e-05/0.601, allocations: 6.141 kB / 0.9555 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.6011, allocations: 10.5 kB / 0.9555 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.6011, allocations: 0 / 0.9555 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of Templates: time 0.002645/0.6037, allocations: 0.8826 MB / 0.9564 GB, free: 3.062 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/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