Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001505/0.001505, allocations: 100.1 kB / 15.88 MB, free: 12 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.001861/0.001861, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.483/1.483, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.789/2.789, allocations: 461.8 MB / 0.7348 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 65.78 kB / 0.8991 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3132, allocations: 157.4 MB / 1.053 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003424/0.3167, allocations: 1.811 MB / 1.055 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002128/0.3169, allocations: 83.62 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.492e-05/0.317, allocations: 0 / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.743e-05/0.3171, allocations: 7.922 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.101e-05/0.3172, allocations: 15.86 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.3173, allocations: 23.97 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.3174, allocations: 103.7 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.3176, allocations: 45.11 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.622e-05/0.3177, allocations: 47.83 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.761e-05/0.3178, allocations: 47.77 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.3178, allocations: 4 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.513e-05/0.3179, allocations: 8 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.434e-05/0.3179, allocations: 15.92 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.318, allocations: 47.72 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.3181, allocations: 80.06 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3181, allocations: 4 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.72e-07/0.3181, allocations: 0 / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3181, allocations: 4 kB / 1.055 GB, free: 6.012 MB / 0.8106 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.0007015/0.3188, allocations: 427 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3189, allocations: 11.97 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.3189, allocations: 8.844 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.3191, allocations: 200.1 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3192, allocations: 8.375 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.3192, allocations: 4.375 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.3196, allocations: 127.5 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3196, allocations: 192 / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.3196, allocations: 15.88 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3196, allocations: 0 / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.3201, allocations: 127.8 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.3206, allocations: 388.4 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/0.321, allocations: 86.52 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.3212, allocations: 60.92 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.3212, allocations: 0 / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.3213, allocations: 38.56 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3213, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0007778/0.3221, allocations: 201.3 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3221, allocations: 51.41 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.3222, allocations: 127.5 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3223, allocations: 29.7 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.3224, allocations: 107.9 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.3224, allocations: 23.72 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/0.3225, allocations: 17.72 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3226, allocations: 322.8 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.3228, allocations: 51.88 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.323, allocations: 47.94 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.3234, allocations: 112.7 kB / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3234, allocations: 0 / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004606/0.3239, allocations: 141.5 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3239, allocations: 12 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3239, allocations: 0 / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.324, allocations: 3.938 kB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.3241, allocations: 23.97 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3241, allocations: 4 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.3243, allocations: 19.88 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.3243, allocations: 0 / 1.058 GB, free: 3.043 MB / 0.8106 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.274e-05/0.3244, allocations: 121.8 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.3244, allocations: 3.938 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.3245, allocations: 20.36 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3245, allocations: 7.922 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3245, allocations: 0 / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3245, allocations: 0 / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.3247, allocations: 201.5 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.3247, allocations: 8.375 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.3249, allocations: 23.97 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3249, allocations: 4 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3249, allocations: 4 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.3249, allocations: 3.938 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3249, allocations: 0 / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.3255, allocations: 239.4 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.3255, allocations: 84.95 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.3256, allocations: 4 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.3257, allocations: 23.91 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.3258, allocations: 11.92 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.3258, allocations: 0 / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.57e-05/0.3259, allocations: 101.9 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3259, allocations: 4 kB / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002405/0.3261, allocations: 19.91 kB / 1.059 GB, free: 2.082 MB / 0.8106 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.0001304/0.3263, allocations: 95.25 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004914/0.3268, allocations: 107.9 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3268, allocations: 4 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.327, allocations: 67.88 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3274, allocations: 16.61 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.3279, allocations: 258.1 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.3282, allocations: 0.7081 MB / 1.06 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.3283, allocations: 11.44 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3283, allocations: 4 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of Templates: time 0.003037/0.3314, allocations: 1.183 MB / 1.061 GB, free: 15.57 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches