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.001528/0.001528, allocations: 108 kB / 15.61 MB, free: 152 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.00181/0.00181, allocations: 197 kB / 16.53 MB, free: 6.664 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.333/2.333, allocations: 390.2 MB / 0.6646 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6206/0.6218, allocations: 140.4 MB / 0.9496 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002276/0.6242, allocations: 1.585 MB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001067/0.6243, allocations: 63.73 kB / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.6243, allocations: 0 / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.6244, allocations: 9.281 kB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.167e-05/0.6244, allocations: 17.33 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.141e-05/0.6245, allocations: 21.22 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.188e-05/0.6246, allocations: 73.59 kB / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.6247, allocations: 23.53 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.561e-05/0.6247, allocations: 29.41 kB / 0.9514 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.6248, allocations: 32.81 kB / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.6248, allocations: 6.188 kB / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.6248, allocations: 6.438 kB / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.6249, allocations: 13.08 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.6249, allocations: 30.58 kB / 0.9515 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.369e-05/0.625, allocations: 63.84 kB / 0.9515 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.625, allocations: 1.25 kB / 0.9515 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.625, allocations: 0 / 0.9515 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.625, allocations: 4 kB / 0.9515 GB, free: 7.688 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.0004973/0.6255, allocations: 397.5 kB / 0.9519 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.6256, allocations: 8.188 kB / 0.9519 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.6256, allocations: 5.094 kB / 0.9519 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.695e-05/0.6257, allocations: 171.5 kB / 0.9521 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.6257, allocations: 2.562 kB / 0.9521 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.6257, allocations: 11.5 kB / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.626, allocations: 99.03 kB / 0.9522 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.626, allocations: 0 / 0.9522 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.626, allocations: 1.375 kB / 0.9522 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.6261, allocations: 0 / 0.9522 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/0.6265, allocations: 101.3 kB / 0.9523 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.6268, allocations: 305.8 kB / 0.9526 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.6271, allocations: 96.5 kB / 0.9527 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.6273, allocations: 56.47 kB / 0.9527 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.6274, allocations: 9.484 kB / 0.9527 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.064e-05/0.6274, allocations: 34.55 kB / 0.9528 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.6274, allocations: 1.344 kB / 0.9528 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0007218/0.6281, allocations: 195.2 kB / 0.9529 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.79e-05/0.6281, allocations: 52.62 kB / 0.953 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.957e-05/0.6282, allocations: 120.6 kB / 0.9531 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.6282, allocations: 29.7 kB / 0.9531 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/0.6282, allocations: 91.69 kB / 0.9532 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.6283, allocations: 26.47 kB / 0.9533 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.6283, allocations: 13.41 kB / 0.9533 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.761e-05/0.6284, allocations: 324 kB / 0.9536 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.6286, allocations: 55.39 kB / 0.9536 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.6288, allocations: 48.62 kB / 0.9537 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.6292, allocations: 107.9 kB / 0.9538 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.6292, allocations: 4 kB / 0.9538 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004336/0.6296, allocations: 140.8 kB / 0.9539 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.6296, allocations: 5.781 kB / 0.9539 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.6296, allocations: 0 / 0.9539 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.6297, allocations: 1.312 kB / 0.9539 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.6298, allocations: 33.25 kB / 0.954 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.6298, allocations: 0 / 0.954 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.6299, allocations: 21.72 kB / 0.954 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.6299, allocations: 1.375 kB / 0.954 GB, free: 5.512 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.507e-05/0.63, allocations: 116.5 kB / 0.9541 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.63, allocations: 2.969 kB / 0.9541 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.6301, allocations: 11 kB / 0.9541 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.6301, allocations: 4 kB / 0.9541 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6301, allocations: 1.375 kB / 0.9541 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.6301, allocations: 0 / 0.9541 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.6302, allocations: 198.6 kB / 0.9543 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6302, allocations: 0 / 0.9543 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.6304, allocations: 24.5 kB / 0.9543 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.6304, allocations: 1.156 kB / 0.9543 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.6304, allocations: 1.281 kB / 0.9543 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6304, allocations: 0 / 0.9543 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6304, allocations: 4 kB / 0.9543 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004494/0.6309, allocations: 236.6 kB / 0.9545 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.6309, allocations: 83.05 kB / 0.9546 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.6309, allocations: 5.156 kB / 0.9546 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.6311, allocations: 26.12 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.6311, allocations: 6.516 kB / 0.9547 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.6311, allocations: 1.156 kB / 0.9547 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.6312, allocations: 100.8 kB / 0.9548 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.41e-07/0.6312, allocations: 0 / 0.9548 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000226/0.6314, allocations: 24.09 kB / 0.9548 GB, free: 4.73 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.0001029/0.6315, allocations: 101.7 kB / 0.9549 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004683/0.632, allocations: 107.3 kB / 0.955 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.632, allocations: 0.875 kB / 0.955 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.6322, allocations: 65.94 kB / 0.955 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.6325, allocations: 20.95 kB / 0.9551 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.6329, allocations: 157.1 kB / 0.9552 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.227e-05/0.633, allocations: 0.6924 MB / 0.9559 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.903e-05/0.633, allocations: 6.328 kB / 0.9559 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.6331, allocations: 10.09 kB / 0.9559 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6331, allocations: 0 / 0.9559 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of Templates: time 0.002883/0.636, allocations: 1.048 MB / 0.9569 GB, free: 3.164 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