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.001939/0.001939, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.002225/0.002225, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.888/1.888, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.389/2.389, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.001371, allocations: 69.27 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3244, allocations: 140.4 MB / 0.9503 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.003114/0.3276, allocations: 1.599 MB / 0.9518 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001449/0.3278, allocations: 51.81 kB / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.3278, allocations: 0 / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.091e-05/0.3279, allocations: 7.922 kB / 0.9519 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.498e-05/0.3279, allocations: 15.86 kB / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 9.102e-05/0.328, allocations: 19.97 kB / 0.9519 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.3281, allocations: 71.72 kB / 0.952 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3283, allocations: 20.17 kB / 0.952 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.3283, allocations: 31.91 kB / 0.9521 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.3284, allocations: 31.84 kB / 0.9521 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.3284, allocations: 8 kB / 0.9521 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.047e-05/0.3285, allocations: 4 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.981e-05/0.3285, allocations: 19.92 kB / 0.9521 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.3285, allocations: 23.86 kB / 0.9521 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.3287, allocations: 68 kB / 0.9522 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3287, allocations: 4 kB / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3287, allocations: 0 / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.3287, allocations: 0 / 0.9522 GB, free: 6.902 MB / 0.7325 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.000644/0.3293, allocations: 391.2 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3294, allocations: 12.03 kB / 0.9526 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.3294, allocations: 12.78 kB / 0.9526 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.3296, allocations: 176.2 kB / 0.9528 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3296, allocations: 4.375 kB / 0.9528 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.3296, allocations: 4.375 kB / 0.9528 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.3299, allocations: 93.56 kB / 0.9529 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.33, allocations: 0 / 0.9529 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.33, allocations: 4 kB / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.33, allocations: 4 kB / 0.9529 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.3304, allocations: 107.8 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.3309, allocations: 300.8 kB / 0.9533 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.3312, allocations: 98.55 kB / 0.9534 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.3315, allocations: 64.86 kB / 0.9534 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3315, allocations: 0 / 0.9534 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.3315, allocations: 42.56 kB / 0.9535 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.3315, allocations: 0 / 0.9535 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0007428/0.3323, allocations: 185.4 kB / 0.9536 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.3323, allocations: 55.41 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.3324, allocations: 117.8 kB / 0.9538 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3324, allocations: 25.7 kB / 0.9538 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.3325, allocations: 104 kB / 0.9539 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.3325, allocations: 15.66 kB / 0.9539 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.3326, allocations: 21.7 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.3327, allocations: 322.8 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.3329, allocations: 51.94 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.3331, allocations: 43.95 kB / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.3335, allocations: 108.8 kB / 0.9545 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3335, allocations: 0 / 0.9545 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004534/0.334, allocations: 141.5 kB / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.334, allocations: 4 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.334, allocations: 4 kB / 0.9546 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.334, allocations: 4 kB / 0.9546 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.3342, allocations: 27.91 kB / 0.9546 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3342, allocations: 3.984 kB / 0.9546 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.3343, allocations: 23.97 kB / 0.9547 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3344, allocations: 0 / 0.9547 GB, free: 4.156 MB / 0.7325 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 8.86e-05/0.3345, allocations: 119.8 kB / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.3345, allocations: 11.91 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.3345, allocations: 8.375 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3345, allocations: 0 / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3345, allocations: 0 / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3346, allocations: 3.984 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.3347, allocations: 189.5 kB / 0.955 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3348, allocations: 448 / 0.955 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.3349, allocations: 23.97 kB / 0.955 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3349, allocations: 0 / 0.955 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3349, allocations: 4 kB / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3349, allocations: 4 kB / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3349, allocations: 4 kB / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000515/0.3355, allocations: 243.2 kB / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.3355, allocations: 81.11 kB / 0.9553 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.3355, allocations: 4 kB / 0.9553 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.3357, allocations: 19.97 kB / 0.9553 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.3357, allocations: 7.984 kB / 0.9554 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.3357, allocations: 3.938 kB / 0.9554 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.502e-05/0.3358, allocations: 95.2 kB / 0.9554 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3358, allocations: 0 / 0.9554 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002213/0.336, allocations: 19.94 kB / 0.9555 GB, free: 3.238 MB / 0.7325 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.0001552/0.3362, allocations: 105 kB / 0.9556 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00049/0.3367, allocations: 115.8 kB / 0.9557 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3367, allocations: 0 / 0.9557 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.3369, allocations: 59.95 kB / 0.9557 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.3373, allocations: 17.3 kB / 0.9558 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.3377, allocations: 191.7 kB / 0.9559 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.338, allocations: 0.6922 MB / 0.9566 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.338, allocations: 11.44 kB / 0.9566 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.338, allocations: 0 / 0.9566 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of Templates: time 0.002574/0.3406, allocations: 1.028 MB / 0.9576 GB, free: 0.9688 MB / 0.7325 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