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.001079/0.001079, allocations: 99.42 kB / 16.35 MB, free: 5.824 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.001257/0.001257, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.235/2.235, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 69.34 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2659, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06279/0.3288, allocations: 60.47 MB / 1.01 GB, free: 11.39 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0196/0.3484, allocations: 13.16 MB / 1.023 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002911/0.3514, allocations: 67.62 kB / 1.023 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003354/0.3547, allocations: 0.9586 MB / 1.024 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007509/0.3624, allocations: 2.316 MB / 1.026 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004518/0.3669, allocations: 1.541 MB / 1.028 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006876/0.3738, allocations: 4.291 MB / 1.032 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002756/0.3766, allocations: 1.321 MB / 1.033 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00436/0.381, allocations: 1.597 MB / 1.035 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002413/0.3834, allocations: 1.182 MB / 1.036 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0005602/0.384, allocations: 140 kB / 1.036 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003798/0.3878, allocations: 1.443 MB / 1.038 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0007248/0.3885, allocations: 422.4 kB / 1.038 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001791/0.3903, allocations: 0.8979 MB / 1.039 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005547/0.3959, allocations: 2.746 MB / 1.041 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3959, allocations: 0 / 1.041 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3959, allocations: 0 / 1.041 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.325e-05/0.396, allocations: 0 / 1.041 GB, free: 11.21 MB / 0.8262 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.005147/0.4012, allocations: 2.174 MB / 1.044 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4012, allocations: 8.031 kB / 1.044 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003747/0.405, allocations: 0.6073 MB / 1.044 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/0.4083, allocations: 1.408 MB / 1.046 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.4085, allocations: 149.3 kB / 1.046 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.4088, allocations: 103.9 kB / 1.046 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/0.412, allocations: 1.311 MB / 1.047 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.412, allocations: 0 / 1.047 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.4122, allocations: 40 kB / 1.047 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/0.4122, allocations: 28 kB / 1.047 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003633/0.4159, allocations: 1.315 MB / 1.048 GB, free: 3.902 MB / 0.8262 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.009244/0.4251, allocations: 5.339 MB / 1.054 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00551/0.4306, allocations: 1.407 MB / 1.055 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.4323, allocations: 0.5919 MB / 1.056 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.4334, allocations: 1.24 MB / 1.057 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001801/0.4352, allocations: 0.651 MB / 1.057 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=69): time 3.206e-06/0.4352, allocations: 4 kB / 1.057 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69): time 0.005136/0.4404, allocations: 1.68 MB / 1.059 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.4404, allocations: 63.91 kB / 1.059 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.4426, allocations: 1.283 MB / 1.06 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.4428, allocations: 45.7 kB / 1.06 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006528/0.4435, allocations: 0.6424 MB / 1.061 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/0.4437, allocations: 240.6 kB / 1.061 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003382/0.4441, allocations: 174.4 kB / 1.061 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4442, allocations: 330 kB / 1.062 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.4458, allocations: 0.5317 MB / 1.062 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.4475, allocations: 0.7425 MB / 1.063 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002992/0.4505, allocations: 1.132 MB / 1.064 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4505, allocations: 0 / 1.064 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004027/0.4546, allocations: 1.395 MB / 1.066 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.4546, allocations: 32.36 kB / 1.066 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4546, allocations: 4 kB / 1.066 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/0.4547, allocations: 11.94 kB / 1.066 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.456, allocations: 259.9 kB / 1.066 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.222e-05/0.4561, allocations: 8 kB / 1.066 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.458, allocations: 183.1 kB / 1.066 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.4582, allocations: 43.97 kB / 1.066 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002096/0.4603, allocations: 0.779 MB / 1.067 GB, free: 228 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001741/0.462, allocations: 0.7352 MB / 1.068 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002967/0.465, allocations: 1.124 MB / 1.069 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.29e-06/0.465, allocations: 0 / 1.069 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.003875/0.4689, allocations: 1.383 MB / 1.07 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/0.469, allocations: 33.7 kB / 1.07 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.469, allocations: 4 kB / 1.07 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.469, allocations: 12.31 kB / 1.07 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.4702, allocations: 259.5 kB / 1.07 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.4703, allocations: 4 kB / 1.07 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.4719, allocations: 175.4 kB / 1.07 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.472, allocations: 35.98 kB / 1.07 GB, free: 12.32 MB / 0.8575 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.000354/0.4724, allocations: 224.1 kB / 1.071 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004947/0.4729, allocations: 150.2 kB / 1.071 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004014/0.4769, allocations: 1.45 MB / 1.072 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/0.4769, allocations: 11.94 kB / 1.072 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.477, allocations: 0 / 1.072 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003164/0.4801, allocations: 1.226 MB / 1.073 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007676/0.4878, allocations: 3.183 MB / 1.077 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.4879, allocations: 8.031 kB / 1.077 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.489, allocations: 211.7 kB / 1.077 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.503e-05/0.489, allocations: 11.94 kB / 1.077 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.95e-05/0.4891, allocations: 31.97 kB / 1.077 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-05/0.4891, allocations: 8 kB / 1.077 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.4892, allocations: 7.938 kB / 1.077 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005429/0.4946, allocations: 2.204 MB / 1.079 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009269/0.4955, allocations: 342.9 kB / 1.079 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004023/0.496, allocations: 27.94 kB / 1.079 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.4975, allocations: 123.9 kB / 1.079 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.4977, allocations: 72.36 kB / 1.08 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.4978, allocations: 39.97 kB / 1.08 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0017/0.4995, allocations: 0.9165 MB / 1.08 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4995, allocations: 0 / 1.08 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002794/0.5023, allocations: 0.7915 MB / 1.081 GB, free: 0.9844 MB / 0.8575 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.00143/0.5037, allocations: 0.5263 MB / 1.082 GB, free: 476 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.4719/0.9757, allocations: 1.985 MB / 1.084 GB, free: 131.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.9757, allocations: 1.688 kB / 1.084 GB, free: 131.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001986/0.9777, allocations: 0.6732 MB / 1.084 GB, free: 131.3 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/0.9812, allocations: 0.755 MB / 1.085 GB, free: 131.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005258/0.9865, allocations: 2.655 MB / 1.088 GB, free: 129.8 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.9876, allocations: 1.232 MB / 1.089 GB, free: 129.1 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001859/0.9895, allocations: 365.5 kB / 1.089 GB, free: 129.1 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/0.9899, allocations: 130.5 kB / 1.089 GB, free: 129 MB / 0.8575 GB Notification: Performance of SimCode: time 1.343e-06/0.99, allocations: 1.203 kB / 1.089 GB, free: 129 MB / 0.8575 GB Notification: Performance of Templates: time 0.06078/1.051, allocations: 31.48 MB / 1.12 GB, free: 119.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches