Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008417/0.000842, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008649/0.0008649, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.3 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.581/2.581, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.000404, allocations: 11.98 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7558/0.7563, allocations: 142.4 MB / 0.9544 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07541/0.8317, allocations: 69.44 MB / 1.022 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01817/0.8499, allocations: 11.96 MB / 1.034 GB, free: 13.92 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00307/0.8531, allocations: 59.62 kB / 1.034 GB, free: 13.86 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002496/0.8556, allocations: 0.5627 MB / 1.035 GB, free: 13.29 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006828/0.8624, allocations: 1.888 MB / 1.036 GB, free: 11.4 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00355/0.866, allocations: 0.9696 MB / 1.037 GB, free: 10.44 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.007284/0.8733, allocations: 4.797 MB / 1.042 GB, free: 5.633 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.8756, allocations: 1.015 MB / 1.043 GB, free: 4.59 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003056/0.8787, allocations: 1.264 MB / 1.044 GB, free: 3.32 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.8806, allocations: 1.062 MB / 1.045 GB, free: 2.254 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003141/0.881, allocations: 56 kB / 1.045 GB, free: 2.199 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.8836, allocations: 0.9432 MB / 1.046 GB, free: 1.254 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003864/0.884, allocations: 270.7 kB / 1.046 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005959/0.8846, allocations: 356.9 kB / 1.047 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002555/0.8872, allocations: 2.085 MB / 1.049 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.8872, allocations: 0 / 1.049 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.916e-06/0.8872, allocations: 0 / 1.049 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.148e-05/0.8873, allocations: 3.938 kB / 1.049 GB, free: 14.54 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003621/0.8909, allocations: 1.803 MB / 1.051 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.8909, allocations: 8.031 kB / 1.051 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009362/0.8919, allocations: 245.8 kB / 1.051 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/0.8946, allocations: 1.455 MB / 1.052 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-05/0.8947, allocations: 74 kB / 1.052 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.8948, allocations: 100 kB / 1.052 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.8971, allocations: 1.12 MB / 1.054 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.8972, allocations: 0 / 1.054 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.8973, allocations: 44 kB / 1.054 GB, free: 9.543 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.414e-05/0.8973, allocations: 27.98 kB / 1.054 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.8995, allocations: 0.9212 MB / 1.055 GB, free: 8.594 MB / 0.8106 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006869/0.9063, allocations: 4.911 MB / 1.059 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.9077, allocations: 0.6395 MB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006969/0.9084, allocations: 362.3 kB / 1.06 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006419/0.9091, allocations: 0.8316 MB / 1.061 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.9091, allocations: 43.11 kB / 1.061 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=62): time 3.807e-06/0.9092, allocations: 0 / 1.061 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=62): time 0.006789/0.9159, allocations: 1.892 MB / 1.063 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.916, allocations: 59.97 kB / 1.063 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.9178, allocations: 1.198 MB / 1.064 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.859e-05/0.9179, allocations: 41.7 kB / 1.064 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000506/0.9185, allocations: 0.5987 MB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.9187, allocations: 224.9 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.9187, allocations: 16 kB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.9189, allocations: 337.9 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006509/0.9195, allocations: 293.8 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007915/0.9203, allocations: 0.4926 MB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007261/0.9211, allocations: 363 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.9211, allocations: 4 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004325/0.9254, allocations: 1.402 MB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.9255, allocations: 189.4 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.9255, allocations: 7.984 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000668/0.9262, allocations: 164.7 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005982/0.9268, allocations: 159.8 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008297/0.9277, allocations: 0.7434 MB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.9288, allocations: 163.1 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.065e-05/0.9289, allocations: 32 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.9289, allocations: 8 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004092/0.933, allocations: 1.253 MB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.9331, allocations: 7.938 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005806/0.9337, allocations: 169 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/0.9343, allocations: 167.8 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008118/0.9351, allocations: 0.7279 MB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.9362, allocations: 155.2 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.719e-05/0.9363, allocations: 35.98 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006768/0.937, allocations: 419.2 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.9373, allocations: 134.4 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004471/0.9418, allocations: 1.408 MB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.9419, allocations: 11.94 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.9419, allocations: 0 / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003848/0.9457, allocations: 1.24 MB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006207/0.9519, allocations: 2.743 MB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.952, allocations: 4 kB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004805/0.9525, allocations: 120.3 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005872/0.9531, allocations: 172.8 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.9531, allocations: 19.98 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007456/0.9539, allocations: 0.7124 MB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.9539, allocations: 7.938 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004878/0.9588, allocations: 1.856 MB / 1.08 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005901/0.9594, allocations: 331 kB / 1.081 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.9596, allocations: 20 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008679/0.9605, allocations: 99.86 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.9606, allocations: 48.38 kB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/0.9607, allocations: 35.97 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001235/0.9619, allocations: 0.8543 MB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9619, allocations: 0 / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002009/0.9639, allocations: 0.7018 MB / 1.082 GB, free: 11 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009673/0.9649, allocations: 450.3 kB / 1.083 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002604/0.9675, allocations: 1.168 MB / 1.084 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.9675, allocations: 0 / 1.084 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008981/0.9684, allocations: 407.2 kB / 1.084 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003385/0.9718, allocations: 0.761 MB / 1.085 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.9759, allocations: 2.762 MB / 1.088 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007342/0.9767, allocations: 1.18 MB / 1.089 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001207/0.9779, allocations: 303 kB / 1.089 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.9781, allocations: 103.4 kB / 1.089 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/0.9781, allocations: 0 / 1.089 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of Templates: time 0.04745/1.026, allocations: 29.2 MB / 1.118 GB, free: 6.969 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches