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.001594/0.001594, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001616/0.001616, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.466/2.466, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 64.14 kB / 0.8118 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9216/0.9231, allocations: 140.4 MB / 0.9489 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06164/0.9848, allocations: 60.09 MB / 1.008 GB, free: 5.902 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02209/1.007, allocations: 13.23 MB / 1.021 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003613/1.011, allocations: 67.56 kB / 1.021 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003855/1.014, allocations: 0.8099 MB / 1.021 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009668/1.024, allocations: 2.139 MB / 1.023 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.007124/1.031, allocations: 1.385 MB / 1.025 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008498/1.04, allocations: 5.535 MB / 1.03 GB, free: 14.69 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00275/1.043, allocations: 1.114 MB / 1.031 GB, free: 13.55 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003856/1.047, allocations: 1.361 MB / 1.033 GB, free: 12.18 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002574/1.049, allocations: 1.198 MB / 1.034 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005302/1.05, allocations: 72 kB / 1.034 GB, free: 10.91 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004102/1.054, allocations: 1.349 MB / 1.035 GB, free: 9.555 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007166/1.055, allocations: 354.4 kB / 1.036 GB, free: 9.207 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001943/1.057, allocations: 0.8315 MB / 1.036 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005519/1.062, allocations: 2.675 MB / 1.039 GB, free: 5.688 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.062, allocations: 0 / 1.039 GB, free: 5.688 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.376e-06/1.062, allocations: 0 / 1.039 GB, free: 5.688 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.121e-05/1.062, allocations: 3.938 kB / 1.039 GB, free: 5.684 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.005685/1.068, allocations: 2.17 MB / 1.041 GB, free: 3.449 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/1.068, allocations: 11.97 kB / 1.041 GB, free: 3.438 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003782/1.072, allocations: 0.6034 MB / 1.042 GB, free: 2.832 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/1.074, allocations: 1.388 MB / 1.043 GB, free: 1.391 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/1.075, allocations: 145.3 kB / 1.043 GB, free: 1.234 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/1.075, allocations: 104 kB / 1.043 GB, free: 1.133 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003115/1.078, allocations: 1.299 MB / 1.045 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/1.078, allocations: 4 kB / 1.045 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/1.078, allocations: 39.98 kB / 1.045 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.791e-05/1.078, allocations: 31.98 kB / 1.045 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003681/1.082, allocations: 1.308 MB / 1.046 GB, free: 14.41 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.008185/1.09, allocations: 5.343 MB / 1.051 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005538/1.096, allocations: 1.411 MB / 1.052 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/1.097, allocations: 0.5963 MB / 1.053 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/1.098, allocations: 1.244 MB / 1.054 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001994/1.1, allocations: 0.651 MB / 1.055 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 3.817e-06/1.1, allocations: 0 / 1.055 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69): time 0.005216/1.106, allocations: 1.68 MB / 1.057 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/1.106, allocations: 59.97 kB / 1.057 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/1.108, allocations: 1.263 MB / 1.058 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/1.108, allocations: 45.7 kB / 1.058 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006106/1.109, allocations: 0.6463 MB / 1.059 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/1.109, allocations: 244.6 kB / 1.059 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/1.109, allocations: 182.4 kB / 1.059 GB, free: 328 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.109, allocations: 334 kB / 1.059 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/1.111, allocations: 0.5239 MB / 1.06 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/1.113, allocations: 0.7352 MB / 1.06 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003058/1.116, allocations: 1.132 MB / 1.062 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.116, allocations: 0 / 1.062 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003998/1.12, allocations: 1.395 MB / 1.063 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/1.12, allocations: 34.02 kB / 1.063 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.12, allocations: 8 kB / 1.063 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/1.12, allocations: 11.94 kB / 1.063 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/1.121, allocations: 251.6 kB / 1.063 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.422e-05/1.121, allocations: 11.98 kB / 1.063 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/1.123, allocations: 230.9 kB / 1.063 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/1.123, allocations: 31.98 kB / 1.063 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002093/1.125, allocations: 0.7829 MB / 1.064 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001792/1.127, allocations: 0.7352 MB / 1.065 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003074/1.13, allocations: 1.124 MB / 1.066 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.648e-06/1.13, allocations: 0 / 1.066 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.003938/1.134, allocations: 1.38 MB / 1.067 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/1.134, allocations: 37.69 kB / 1.067 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/1.134, allocations: 4 kB / 1.067 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/1.134, allocations: 8 kB / 1.067 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/1.136, allocations: 255.7 kB / 1.068 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/1.136, allocations: 4 kB / 1.068 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/1.138, allocations: 215.2 kB / 1.068 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/1.138, allocations: 39.98 kB / 1.068 GB, free: 6.766 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.0004187/1.138, allocations: 240 kB / 1.068 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005647/1.139, allocations: 142.2 kB / 1.068 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/1.143, allocations: 1.454 MB / 1.07 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/1.143, allocations: 8 kB / 1.07 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.143, allocations: 0 / 1.07 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003129/1.146, allocations: 1.214 MB / 1.071 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007439/1.153, allocations: 3.171 MB / 1.074 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/1.154, allocations: 4.562 kB / 1.074 GB, free: 328 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/1.155, allocations: 223.7 kB / 1.074 GB, free: 104 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.956e-05/1.155, allocations: 15.94 kB / 1.074 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.559e-05/1.155, allocations: 23.98 kB / 1.074 GB, free: 64 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.54e-05/1.155, allocations: 11.98 kB / 1.074 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/1.155, allocations: 7.938 kB / 1.074 GB, free: 44 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005807/1.161, allocations: 2.196 MB / 1.076 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009115/1.162, allocations: 351 kB / 1.077 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004205/1.162, allocations: 19.94 kB / 1.077 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/1.164, allocations: 167.7 kB / 1.077 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/1.164, allocations: 72.36 kB / 1.077 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/1.164, allocations: 35.97 kB / 1.077 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001653/1.166, allocations: 0.9048 MB / 1.078 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/1.166, allocations: 4 kB / 1.078 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002715/1.169, allocations: 0.7798 MB / 1.079 GB, free: 11.43 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.001387/1.17, allocations: 0.5128 MB / 1.079 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005776/1.176, allocations: 1.976 MB / 1.081 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/1.176, allocations: 12.06 kB / 1.081 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002019/1.178, allocations: 0.6794 MB / 1.082 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004509/1.182, allocations: 0.735 MB / 1.083 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005946/1.188, allocations: 3.19 MB / 1.086 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/1.189, allocations: 1.23 MB / 1.087 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002083/1.191, allocations: 371.3 kB / 1.087 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005169/1.192, allocations: 131.3 kB / 1.087 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of SimCode: time 8.51e-07/1.192, allocations: 0 / 1.087 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of Templates: time 0.0524/1.244, allocations: 29.99 MB / 1.117 GB, free: 4.867 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