Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DXSystems.Cooling.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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 108.1 kB / 16.27 MB, free: 5.984 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.001874/0.001874, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.474/1.474, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 437.1 MB / 0.7111 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 68.06 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.342, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003531/0.3456, allocations: 1.764 MB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001902/0.3458, allocations: 87.67 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.3459, allocations: 0 / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.511e-05/0.3459, allocations: 7.875 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.742e-05/0.346, allocations: 23.78 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.3461, allocations: 31.97 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.3463, allocations: 111.6 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.3465, allocations: 49.09 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.1e-05/0.3466, allocations: 43.84 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.55e-05/0.3467, allocations: 51.75 kB / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.3467, allocations: 12 kB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.561e-05/0.3467, allocations: 16 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.42e-05/0.3468, allocations: 23.92 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.168e-05/0.3469, allocations: 47.73 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.347, allocations: 111.9 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.347, allocations: 0 / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.703e-06/0.347, allocations: 0 / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.3471, allocations: 0 / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007611/0.3478, allocations: 431 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3479, allocations: 8.031 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.3479, allocations: 12.84 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.3482, allocations: 200.1 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3482, allocations: 4.375 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.3482, allocations: 8.375 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.3486, allocations: 126.2 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3486, allocations: 192 / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.3487, allocations: 7.938 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.3487, allocations: 4 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.3492, allocations: 119.8 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006012/0.3498, allocations: 392.3 kB / 1.022 GB, free: 6.832 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.3502, allocations: 98.48 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.3504, allocations: 56.94 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.3504, allocations: 0 / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.3505, allocations: 34.56 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.3505, allocations: 4 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.000786/0.3513, allocations: 201.5 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.3513, allocations: 51.41 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3515, allocations: 123.5 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.3515, allocations: 29.7 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/0.3516, allocations: 111.9 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.3516, allocations: 15.73 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.3517, allocations: 17.72 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3518, allocations: 326.8 kB / 1.023 GB, free: 5.711 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.3521, allocations: 51.95 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.3523, allocations: 52 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.3527, allocations: 108.8 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.3527, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004996/0.3532, allocations: 141.4 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3533, allocations: 11.92 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3533, allocations: 0 / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3533, allocations: 3.938 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.3535, allocations: 35.97 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3535, allocations: 0 / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.3536, allocations: 19.89 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.3536, allocations: 0 / 1.023 GB, free: 5.285 MB / 0.795 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 0.0001196/0.3538, allocations: 118.5 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.3538, allocations: 4 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.3538, allocations: 16.38 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3538, allocations: 3.938 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.3539, allocations: 4 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3539, allocations: 0 / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.3541, allocations: 201.5 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3541, allocations: 0 / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.3543, allocations: 27.91 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3543, allocations: 3.938 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3543, allocations: 4 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3543, allocations: 7.938 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3543, allocations: 192 / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/0.3549, allocations: 235.4 kB / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.807e-05/0.3549, allocations: 88.95 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.355, allocations: 4 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.3551, allocations: 27.91 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.3552, allocations: 3.984 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.3552, allocations: 4 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.773e-05/0.3553, allocations: 101.5 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3553, allocations: 0 / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002348/0.3555, allocations: 15.91 kB / 1.024 GB, free: 4.336 MB / 0.795 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.0001789/0.3557, allocations: 113.8 kB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005178/0.3562, allocations: 115.9 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3563, allocations: 0 / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.3565, allocations: 59.89 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.3569, allocations: 17.88 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/0.3574, allocations: 228.2 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.3578, allocations: 0.6924 MB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.3579, allocations: 11.44 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of SimCode: time 4.21e-07/0.3579, allocations: 3.938 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of Templates: time 0.003315/0.3612, allocations: 1.195 MB / 1.026 GB, free: 1.855 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches