Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001352/0.001352, allocations: 177.3 kB / 15.95 MB, free: 216 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.448/1.448, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.452/2.452, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 12 kB / 0.8145 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9049/0.9053, allocations: 142.3 MB / 0.9535 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.04892/0.9542, allocations: 50.62 MB / 1.003 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01925/0.9735, allocations: 11.32 MB / 1.014 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00395/0.9775, allocations: 59.56 kB / 1.014 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004121/0.9817, allocations: 0.9175 MB / 1.015 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.009632/0.9913, allocations: 2.278 MB / 1.017 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005721/0.9971, allocations: 1.708 MB / 1.019 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005801/1.003, allocations: 2.543 MB / 1.021 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002418/1.005, allocations: 0.9894 MB / 1.022 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003977/1.009, allocations: 1.168 MB / 1.023 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/1.011, allocations: 0.7932 MB / 1.024 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001888/1.011, allocations: 56 kB / 1.024 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/1.014, allocations: 0.901 MB / 1.025 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003872/1.015, allocations: 294.8 kB / 1.025 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006324/1.015, allocations: 360.8 kB / 1.026 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002691/1.018, allocations: 1.861 MB / 1.028 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/1.018, allocations: 4 kB / 1.028 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.114e-06/1.018, allocations: 0 / 1.028 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.808e-05/1.018, allocations: 0 / 1.028 GB, free: 4.145 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003684/1.022, allocations: 1.87 MB / 1.029 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/1.022, allocations: 12.03 kB / 1.029 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/1.025, allocations: 0.634 MB / 1.03 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/1.027, allocations: 1.23 MB / 1.031 GB, free: 284 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/1.027, allocations: 149.4 kB / 1.031 GB, free: 124 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/1.028, allocations: 100 kB / 1.031 GB, free: 24 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002793/1.03, allocations: 1.334 MB / 1.033 GB, free: 14.65 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/1.03, allocations: 4 kB / 1.033 GB, free: 14.65 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/1.031, allocations: 36 kB / 1.033 GB, free: 14.61 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-05/1.031, allocations: 28 kB / 1.033 GB, free: 14.59 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003686/1.034, allocations: 1.374 MB / 1.034 GB, free: 13.21 MB / 0.795 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.008874/1.043, allocations: 5.382 MB / 1.039 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006143/1.049, allocations: 1.507 MB / 1.041 GB, free: 5.922 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/1.051, allocations: 1.232 MB / 1.042 GB, free: 4.414 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002077/1.053, allocations: 0.6784 MB / 1.043 GB, free: 3.727 MB / 0.795 GB Notification: Performance of pre-optimization done (n=69): time 3.366e-06/1.053, allocations: 0 / 1.043 GB, free: 3.727 MB / 0.795 GB Notification: Performance of matching and sorting (n=69): time 0.005862/1.059, allocations: 1.778 MB / 1.045 GB, free: 1.941 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.067e-05/1.059, allocations: 59.97 kB / 1.045 GB, free: 1.871 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/1.062, allocations: 1.267 MB / 1.046 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/1.062, allocations: 45.7 kB / 1.046 GB, free: 0.543 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00092/1.063, allocations: 0.6503 MB / 1.046 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005438/1.063, allocations: 244.5 kB / 1.047 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.338e-05/1.063, allocations: 23.94 kB / 1.047 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000301/1.064, allocations: 330 kB / 1.047 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/1.065, allocations: 0.5445 MB / 1.048 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/1.068, allocations: 0.7704 MB / 1.048 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/1.069, allocations: 0.5941 MB / 1.049 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/1.069, allocations: 4 kB / 1.049 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.005865/1.075, allocations: 1.458 MB / 1.05 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009218/1.076, allocations: 1.192 MB / 1.052 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/1.076, allocations: 0 / 1.052 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-05/1.076, allocations: 8 kB / 1.052 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/1.078, allocations: 283.6 kB / 1.052 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.493e-05/1.078, allocations: 4 kB / 1.052 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/1.081, allocations: 247.1 kB / 1.052 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/1.082, allocations: 31.98 kB / 1.052 GB, free: 10 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.082, allocations: 4 kB / 1.052 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005721/1.087, allocations: 1.306 MB / 1.053 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/1.087, allocations: 4 kB / 1.053 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/1.087, allocations: 8 kB / 1.053 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/1.089, allocations: 275.7 kB / 1.054 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.787e-05/1.089, allocations: 11.94 kB / 1.054 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00277/1.092, allocations: 239 kB / 1.054 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/1.092, allocations: 31.98 kB / 1.054 GB, free: 8.125 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00122/1.094, allocations: 412.9 kB / 1.054 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006799/1.094, allocations: 142.2 kB / 1.054 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00654/1.101, allocations: 1.532 MB / 1.056 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/1.101, allocations: 8 kB / 1.056 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/1.101, allocations: 0 / 1.056 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005109/1.106, allocations: 1.281 MB / 1.057 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/1.117, allocations: 3.245 MB / 1.06 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/1.117, allocations: 12 kB / 1.06 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/1.119, allocations: 239.7 kB / 1.061 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-05/1.119, allocations: 8 kB / 1.061 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/1.119, allocations: 27.98 kB / 1.061 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.639e-05/1.119, allocations: 11.94 kB / 1.061 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.357e-05/1.119, allocations: 7.953 kB / 1.061 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008773/1.128, allocations: 2.576 MB / 1.063 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.129, allocations: 378.8 kB / 1.064 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006145/1.13, allocations: 16 kB / 1.064 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00245/1.133, allocations: 183.8 kB / 1.064 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/1.133, allocations: 72.38 kB / 1.064 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.133, allocations: 35.97 kB / 1.064 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00241/1.135, allocations: 0.9008 MB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.81e-07/1.135, allocations: 4 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003882/1.139, allocations: 0.7992 MB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001383/1.141, allocations: 0.507 MB / 1.066 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.006113/1.147, allocations: 2.066 MB / 1.068 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/1.147, allocations: 4.125 kB / 1.068 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002268/1.149, allocations: 0.7068 MB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004679/1.154, allocations: 0.7316 MB / 1.069 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006622/1.161, allocations: 3.162 MB / 1.072 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/1.162, allocations: 1.257 MB / 1.074 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002252/1.164, allocations: 354.8 kB / 1.074 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/1.165, allocations: 123.4 kB / 1.074 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of SimCode: time 9.21e-07/1.165, allocations: 4 kB / 1.074 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of Templates: time 0.05142/1.216, allocations: 29.16 MB / 1.103 GB, free: 5.957 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches