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.001121/0.001121, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.008757/0.008757, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.382/2.382, allocations: 390.9 MB / 0.6663 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004082, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.623/0.6234, allocations: 142.4 MB / 0.9551 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.00155/0.625, allocations: 1.315 MB / 0.9563 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001148/0.6251, allocations: 50.31 kB / 0.9564 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.6252, allocations: 4.938 kB / 0.9564 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.6252, allocations: 3.938 kB / 0.9564 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.537e-05/0.6253, allocations: 6.562 kB / 0.9564 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.468e-05/0.6254, allocations: 21.38 kB / 0.9564 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.015e-05/0.6255, allocations: 76.27 kB / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.6256, allocations: 15.05 kB / 0.9565 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.6256, allocations: 25.97 kB / 0.9565 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.092e-05/0.6257, allocations: 33.25 kB / 0.9566 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.6257, allocations: 2.906 kB / 0.9566 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.6258, allocations: 2.719 kB / 0.9566 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.6258, allocations: 9.234 kB / 0.9566 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.6258, allocations: 51.89 kB / 0.9566 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.777e-05/0.6259, allocations: 55.8 kB / 0.9567 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.6259, allocations: 3.938 kB / 0.9567 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6259, allocations: 0 / 0.9567 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.6259, allocations: 0 / 0.9567 GB, free: 6.402 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.000517/0.6265, allocations: 405.1 kB / 0.9571 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.6265, allocations: 13.12 kB / 0.9571 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.6265, allocations: 11.61 kB / 0.9571 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.265e-05/0.6266, allocations: 172.7 kB / 0.9573 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.6266, allocations: 1.688 kB / 0.9573 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.6267, allocations: 3.406 kB / 0.9573 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.627, allocations: 114.2 kB / 0.9574 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.627, allocations: 0 / 0.9574 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.627, allocations: 0.9688 kB / 0.9574 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.6271, allocations: 0.9062 kB / 0.9574 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004677/0.6275, allocations: 145.6 kB / 0.9575 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.6279, allocations: 302.4 kB / 0.9578 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/0.6283, allocations: 115.4 kB / 0.9579 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.6285, allocations: 78.67 kB / 0.958 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.6285, allocations: 1.031 kB / 0.958 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.6286, allocations: 35.81 kB / 0.958 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.6286, allocations: 0 / 0.958 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0007962/0.6294, allocations: 236.7 kB / 0.9583 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.6294, allocations: 52.44 kB / 0.9583 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.837e-05/0.6295, allocations: 120.2 kB / 0.9584 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.6295, allocations: 29.64 kB / 0.9584 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.6295, allocations: 99.3 kB / 0.9585 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.6295, allocations: 18.14 kB / 0.9586 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.6296, allocations: 22.83 kB / 0.9586 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.6296, allocations: 317.1 kB / 0.9589 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.6299, allocations: 70.16 kB / 0.9589 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.6301, allocations: 66.16 kB / 0.959 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.6305, allocations: 137.5 kB / 0.9591 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6305, allocations: 3.984 kB / 0.9591 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004924/0.631, allocations: 178.2 kB / 0.9593 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.6311, allocations: 5.5 kB / 0.9593 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.6311, allocations: 0 / 0.9593 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.6311, allocations: 1.812 kB / 0.9593 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.6313, allocations: 35.28 kB / 0.9594 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.6313, allocations: 1.375 kB / 0.9594 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.6314, allocations: 32.47 kB / 0.9594 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.6314, allocations: 2.75 kB / 0.9594 GB, free: 4.199 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.49e-05/0.6315, allocations: 116.5 kB / 0.9595 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.6315, allocations: 6.656 kB / 0.9595 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.6315, allocations: 9.75 kB / 0.9595 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.6315, allocations: 1.375 kB / 0.9595 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6316, allocations: 7.984 kB / 0.9595 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.6316, allocations: 0 / 0.9595 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.6317, allocations: 183.3 kB / 0.9597 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6317, allocations: 0 / 0.9597 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.6319, allocations: 32.72 kB / 0.9597 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.6319, allocations: 0 / 0.9597 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.6319, allocations: 5.375 kB / 0.9597 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6319, allocations: 4 kB / 0.9597 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6319, allocations: 0 / 0.9597 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005314/0.6324, allocations: 278.1 kB / 0.96 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.6325, allocations: 82.39 kB / 0.9601 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.6325, allocations: 9.359 kB / 0.9601 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.6326, allocations: 24.48 kB / 0.9601 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.6327, allocations: 8.109 kB / 0.9601 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.6327, allocations: 1.375 kB / 0.9601 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.284e-05/0.6328, allocations: 95.52 kB / 0.9602 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6328, allocations: 1.375 kB / 0.9602 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002306/0.633, allocations: 22.88 kB / 0.9602 GB, free: 3.418 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.0001058/0.6331, allocations: 98.5 kB / 0.9603 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005102/0.6336, allocations: 152.3 kB / 0.9605 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6336, allocations: 0 / 0.9605 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.6339, allocations: 79.91 kB / 0.9606 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.6342, allocations: 12.62 kB / 0.9606 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.6346, allocations: 186.3 kB / 0.9607 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.6347, allocations: 0.69 MB / 0.9614 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.384e-05/0.6347, allocations: 9.953 kB / 0.9614 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.6348, allocations: 9.469 kB / 0.9614 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.6348, allocations: 0.9688 kB / 0.9614 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of Templates: time 0.003114/0.6379, allocations: 0.8383 MB / 0.9623 GB, free: 1.922 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