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.001816/0.001816, allocations: 108.2 kB / 15.99 MB, free: 6.355 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.002083/0.002083, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.495/1.495, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.558/2.558, allocations: 437.1 MB / 0.7107 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 64.31 kB / 0.8694 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3283, allocations: 151.6 MB / 1.017 GB, free: 10.97 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003006/0.3314, allocations: 1.813 MB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001544/0.3316, allocations: 75.75 kB / 1.019 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.3316, allocations: 4 kB / 1.019 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.423e-05/0.3317, allocations: 7.922 kB / 1.019 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.359e-05/0.3318, allocations: 11.86 kB / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 9.525e-05/0.3319, allocations: 27.97 kB / 1.019 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.332, allocations: 107.7 kB / 1.019 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.3322, allocations: 57.09 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.607e-05/0.3322, allocations: 35.86 kB / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.3323, allocations: 55.75 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.3323, allocations: 12 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/0.3324, allocations: 12 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.3324, allocations: 27.91 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.3325, allocations: 47.67 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.3326, allocations: 88.06 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3326, allocations: 0 / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3326, allocations: 0 / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3326, allocations: 0 / 1.02 GB, free: 8.578 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.0006687/0.3333, allocations: 435 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3333, allocations: 8.031 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.3334, allocations: 8.844 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.3336, allocations: 198.3 kB / 1.02 GB, free: 7.859 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3336, allocations: 4.375 kB / 1.02 GB, free: 7.855 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.3336, allocations: 8.375 kB / 1.02 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.334, allocations: 130.1 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.334, allocations: 3.938 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.334, allocations: 0 / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.334, allocations: 7.938 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004307/0.3345, allocations: 127.8 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.335, allocations: 380.4 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.3353, allocations: 94.52 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.3356, allocations: 60.86 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.3356, allocations: 4 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.3356, allocations: 34.56 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3356, allocations: 4 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0006749/0.3363, allocations: 193.4 kB / 1.021 GB, free: 6.746 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.3364, allocations: 51.41 kB / 1.021 GB, free: 6.684 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.89e-05/0.3365, allocations: 129.8 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3365, allocations: 25.7 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.3366, allocations: 107.9 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.3366, allocations: 27.72 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.3366, allocations: 17.72 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3368, allocations: 310.8 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.337, allocations: 59.88 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.3372, allocations: 51.94 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.3375, allocations: 108.8 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3375, allocations: 0 / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004287/0.338, allocations: 137.5 kB / 1.022 GB, free: 5.684 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.338, allocations: 8 kB / 1.022 GB, free: 5.676 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.338, allocations: 0 / 1.022 GB, free: 5.676 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.338, allocations: 3.938 kB / 1.022 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.3382, allocations: 31.91 kB / 1.022 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3382, allocations: 3.984 kB / 1.022 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.3383, allocations: 19.89 kB / 1.022 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.3383, allocations: 4 kB / 1.022 GB, free: 5.613 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 9.521e-05/0.3384, allocations: 115.4 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.3385, allocations: 7.984 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.3385, allocations: 20.75 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3385, allocations: 0 / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3385, allocations: 0 / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3385, allocations: 0 / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.3388, allocations: 205.5 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3388, allocations: 0 / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.3389, allocations: 35.91 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3389, allocations: 3.984 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.339, allocations: 3.938 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.339, allocations: 4 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.339, allocations: 0 / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/0.3395, allocations: 239.4 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.3395, allocations: 84.95 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.3395, allocations: 11.88 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3397, allocations: 19.97 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.3398, allocations: 8 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3398, allocations: 0 / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.243e-05/0.3398, allocations: 101.2 kB / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.3398, allocations: 0 / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002277/0.3401, allocations: 23.91 kB / 1.023 GB, free: 4.652 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.0001446/0.3402, allocations: 99.25 kB / 1.023 GB, free: 4.547 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004505/0.3407, allocations: 115.8 kB / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3407, allocations: 0 / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.3409, allocations: 63.94 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.3413, allocations: 17.86 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.3418, allocations: 260.3 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.342, allocations: 0.704 MB / 1.025 GB, free: 3.336 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.3421, allocations: 11.44 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of SimCode: time 3.4e-07/0.3421, allocations: 0 / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of Templates: time 0.002715/0.3448, allocations: 1.196 MB / 1.026 GB, free: 2.145 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=480 -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