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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001406/0.001406, allocations: 108 kB / 15.6 MB, free: 132 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.00155/0.00155, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.552/1.552, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.633/2.633, allocations: 390.2 MB / 0.6647 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001474, allocations: 71.88 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.893/0.8945, allocations: 140.3 MB / 0.9496 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.07195/0.9665, allocations: 60.48 MB / 1.009 GB, free: 5.23 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02176/0.9883, allocations: 13.16 MB / 1.021 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003887/0.9922, allocations: 67.62 kB / 1.022 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004019/0.9962, allocations: 0.9567 MB / 1.022 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009458/1.006, allocations: 2.309 MB / 1.025 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00558/1.011, allocations: 1.524 MB / 1.026 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008092/1.019, allocations: 4.291 MB / 1.03 GB, free: 14.88 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002949/1.022, allocations: 1.321 MB / 1.032 GB, free: 13.52 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004838/1.027, allocations: 1.576 MB / 1.033 GB, free: 11.95 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002669/1.03, allocations: 1.182 MB / 1.034 GB, free: 10.76 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0006931/1.031, allocations: 143.9 kB / 1.035 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004488/1.035, allocations: 1.443 MB / 1.036 GB, free: 9.176 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0009584/1.036, allocations: 422.4 kB / 1.036 GB, free: 8.762 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002239/1.038, allocations: 0.8979 MB / 1.037 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.006441/1.045, allocations: 2.718 MB / 1.04 GB, free: 5.133 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.045, allocations: 0 / 1.04 GB, free: 5.133 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.073e-06/1.045, allocations: 0 / 1.04 GB, free: 5.133 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.966e-05/1.045, allocations: 0 / 1.04 GB, free: 5.133 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004296/1.049, allocations: 2.17 MB / 1.042 GB, free: 2.895 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/1.049, allocations: 12.03 kB / 1.042 GB, free: 2.883 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003811/1.053, allocations: 0.5995 MB / 1.043 GB, free: 2.281 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002739/1.056, allocations: 1.353 MB / 1.044 GB, free: 0.875 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/1.056, allocations: 149.4 kB / 1.044 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/1.056, allocations: 104 kB / 1.044 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/1.059, allocations: 1.299 MB / 1.045 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/1.059, allocations: 11.89 kB / 1.045 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/1.06, allocations: 36 kB / 1.045 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.092e-05/1.06, allocations: 31.94 kB / 1.046 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003632/1.063, allocations: 1.311 MB / 1.047 GB, free: 13.89 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.00804/1.071, allocations: 5.37 MB / 1.052 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005608/1.077, allocations: 1.409 MB / 1.053 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/1.079, allocations: 0.5919 MB / 1.054 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/1.08, allocations: 1.236 MB / 1.055 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001927/1.082, allocations: 0.6588 MB / 1.056 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 4.088e-06/1.082, allocations: 0 / 1.056 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69): time 0.006016/1.088, allocations: 1.676 MB / 1.057 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.616e-05/1.088, allocations: 67.91 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/1.09, allocations: 1.283 MB / 1.059 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/1.09, allocations: 49.64 kB / 1.059 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005943/1.091, allocations: 0.6502 MB / 1.059 GB, free: 168 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002879/1.091, allocations: 236.8 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002876/1.091, allocations: 174.4 kB / 1.06 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.091, allocations: 330 kB / 1.06 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/1.093, allocations: 0.5278 MB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/1.095, allocations: 0.743 MB / 1.061 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003189/1.098, allocations: 1.128 MB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.098, allocations: 0 / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00416/1.102, allocations: 1.399 MB / 1.064 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/1.102, allocations: 33.69 kB / 1.064 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.102, allocations: 4 kB / 1.064 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/1.102, allocations: 11.94 kB / 1.064 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/1.103, allocations: 252 kB / 1.064 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/1.103, allocations: 11.94 kB / 1.064 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/1.105, allocations: 187.1 kB / 1.064 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.634e-05/1.105, allocations: 35.98 kB / 1.064 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002101/1.107, allocations: 0.7751 MB / 1.065 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001709/1.109, allocations: 0.7468 MB / 1.066 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003081/1.112, allocations: 1.116 MB / 1.067 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.557e-06/1.112, allocations: 0 / 1.067 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.003933/1.116, allocations: 1.387 MB / 1.068 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/1.116, allocations: 36.05 kB / 1.068 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/1.116, allocations: 4 kB / 1.068 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/1.116, allocations: 8.312 kB / 1.068 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/1.117, allocations: 255.6 kB / 1.069 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/1.117, allocations: 7.938 kB / 1.069 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/1.119, allocations: 179.4 kB / 1.069 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/1.119, allocations: 35.98 kB / 1.069 GB, free: 6.262 MB / 0.8262 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 (chi.on,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002954/1.119, allocations: 224.1 kB / 1.069 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/1.12, allocations: 146.2 kB / 1.069 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004034/1.124, allocations: 1.454 MB / 1.071 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/1.124, allocations: 8 kB / 1.071 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.124, allocations: 0 / 1.071 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003273/1.127, allocations: 1.222 MB / 1.072 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006686/1.134, allocations: 3.186 MB / 1.075 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.134, allocations: 4 kB / 1.075 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/1.135, allocations: 216 kB / 1.075 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/1.135, allocations: 11.94 kB / 1.075 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.788e-05/1.135, allocations: 27.98 kB / 1.075 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/1.135, allocations: 15.94 kB / 1.075 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.135, allocations: 4 kB / 1.075 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005617/1.141, allocations: 2.208 MB / 1.077 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000819/1.141, allocations: 346.9 kB / 1.078 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/1.142, allocations: 19.94 kB / 1.078 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/1.143, allocations: 127.9 kB / 1.078 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/1.143, allocations: 68.36 kB / 1.078 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.812e-05/1.143, allocations: 47.89 kB / 1.078 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001453/1.145, allocations: 0.9126 MB / 1.079 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/1.145, allocations: 4 kB / 1.079 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002585/1.147, allocations: 0.7953 MB / 1.08 GB, free: 10.92 MB / 0.8419 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 (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.001188/1.149, allocations: 0.5156 MB / 1.08 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005839/1.154, allocations: 2.042 MB / 1.082 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.154, allocations: 0 / 1.082 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001968/1.156, allocations: 0.6757 MB / 1.083 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004055/1.161, allocations: 0.7578 MB / 1.083 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005121/1.166, allocations: 2.68 MB / 1.086 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008332/1.167, allocations: 1.237 MB / 1.087 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001869/1.168, allocations: 375.2 kB / 1.088 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003824/1.169, allocations: 127.4 kB / 1.088 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of SimCode: time 1.122e-06/1.169, allocations: 4 kB / 1.088 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of Templates: time 0.05292/1.222, allocations: 31.51 MB / 1.119 GB, free: 3.289 MB / 0.8731 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches