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.001382/0.001382, allocations: 91.92 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.002128/0.002128, 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.468/1.468, allocations: 223.3 MB / 240 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.577/2.577, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003947, allocations: 12 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8834/0.8838, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.057/0.9408, allocations: 55.78 MB / 1.009 GB, free: 7.605 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01852/0.9594, allocations: 12.33 MB / 1.021 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003047/0.9625, allocations: 67.56 kB / 1.021 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002696/0.9652, allocations: 0.7026 MB / 1.022 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006517/0.9718, allocations: 1.831 MB / 1.023 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004138/0.9759, allocations: 1.142 MB / 1.025 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007885/0.9838, allocations: 4.75 MB / 1.029 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.9859, allocations: 0.9813 MB / 1.03 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003435/0.9894, allocations: 1.291 MB / 1.031 GB, free: 464 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.9913, allocations: 1.089 MB / 1.033 GB, free: 15.36 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002309/0.9916, allocations: 60 kB / 1.033 GB, free: 15.3 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/0.9946, allocations: 0.9901 MB / 1.034 GB, free: 14.31 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004138/0.995, allocations: 310.6 kB / 1.034 GB, free: 14 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006535/0.9957, allocations: 356.8 kB / 1.034 GB, free: 13.65 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003007/0.9987, allocations: 1.942 MB / 1.036 GB, free: 11.7 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.9987, allocations: 0 / 1.036 GB, free: 11.7 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9987, allocations: 0 / 1.036 GB, free: 11.7 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.478e-05/0.9988, allocations: 0 / 1.036 GB, free: 11.7 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.003593/1.002, allocations: 1.895 MB / 1.038 GB, free: 9.742 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/1.002, allocations: 15.97 kB / 1.038 GB, free: 9.727 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00325/1.006, allocations: 0.634 MB / 1.039 GB, free: 9.09 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/1.008, allocations: 1.327 MB / 1.04 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/1.008, allocations: 145.3 kB / 1.04 GB, free: 7.559 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/1.008, allocations: 100 kB / 1.04 GB, free: 7.461 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003063/1.012, allocations: 1.346 MB / 1.041 GB, free: 6.078 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/1.012, allocations: 3.906 kB / 1.041 GB, free: 6.074 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.411e-05/1.012, allocations: 39.94 kB / 1.041 GB, free: 6.035 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/1.012, allocations: 24 kB / 1.041 GB, free: 6.012 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/1.015, allocations: 1.37 MB / 1.043 GB, free: 4.641 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.008001/1.023, allocations: 5.366 MB / 1.048 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005352/1.029, allocations: 1.476 MB / 1.049 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/1.03, allocations: 0.6315 MB / 1.05 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/1.031, allocations: 1.232 MB / 1.051 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/1.033, allocations: 0.6862 MB / 1.052 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 3.457e-06/1.033, allocations: 0 / 1.052 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69): time 0.004923/1.038, allocations: 1.777 MB / 1.054 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/1.038, allocations: 67.95 kB / 1.054 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002715/1.041, allocations: 1.251 MB / 1.055 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/1.041, allocations: 45.7 kB / 1.055 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009832/1.042, allocations: 0.6464 MB / 1.056 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003467/1.042, allocations: 236.6 kB / 1.056 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/1.042, allocations: 20 kB / 1.056 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002069/1.043, allocations: 333.9 kB / 1.056 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/1.044, allocations: 0.5446 MB / 1.057 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/1.046, allocations: 0.7742 MB / 1.058 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/1.048, allocations: 0.5863 MB / 1.058 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.048, allocations: 4 kB / 1.058 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004269/1.053, allocations: 1.446 MB / 1.06 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001873/1.053, allocations: 211 kB / 1.06 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/1.053, allocations: 7.938 kB / 1.06 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.582e-05/1.053, allocations: 11.98 kB / 1.06 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.054, allocations: 267.7 kB / 1.06 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/1.054, allocations: 11.94 kB / 1.06 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/1.056, allocations: 243 kB / 1.06 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/1.056, allocations: 43.97 kB / 1.06 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.056, allocations: 6.031 kB / 1.06 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003518/1.06, allocations: 1.29 MB / 1.062 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.06, allocations: 7.984 kB / 1.062 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.06, allocations: 8.312 kB / 1.062 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.061, allocations: 271.6 kB / 1.062 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/1.061, allocations: 11.94 kB / 1.062 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/1.063, allocations: 227.2 kB / 1.062 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/1.063, allocations: 44.2 kB / 1.062 GB, free: 15.99 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 ($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.001016/1.064, allocations: 412.7 kB / 1.062 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003894/1.064, allocations: 150.2 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003902/1.068, allocations: 1.512 MB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.068, allocations: 12 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.068, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003176/1.071, allocations: 1.281 MB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006873/1.078, allocations: 3.237 MB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/1.078, allocations: 4 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/1.079, allocations: 240.2 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/1.079, allocations: 8 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.124e-05/1.079, allocations: 31.92 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/1.08, allocations: 11.98 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/1.08, allocations: 11.89 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005393/1.085, allocations: 2.294 MB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008345/1.086, allocations: 366.8 kB / 1.071 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/1.086, allocations: 27.94 kB / 1.071 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.087, allocations: 187.7 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/1.087, allocations: 68.38 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/1.088, allocations: 43.97 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001301/1.089, allocations: 0.893 MB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/1.089, allocations: 0 / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001989/1.091, allocations: 0.7759 MB / 1.073 GB, free: 4.145 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.0009777/1.092, allocations: 0.4897 MB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004954/1.097, allocations: 2.07 MB / 1.076 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/1.097, allocations: 4 kB / 1.076 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001835/1.099, allocations: 0.7108 MB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003807/1.102, allocations: 0.7405 MB / 1.077 GB, free: 120 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005068/1.108, allocations: 3.17 MB / 1.08 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008222/1.108, allocations: 1.23 MB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001754/1.11, allocations: 367.3 kB / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003701/1.111, allocations: 127.4 kB / 1.082 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of SimCode: time 9.22e-07/1.111, allocations: 0 / 1.082 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of Templates: time 0.05618/1.167, allocations: 28.95 MB / 1.11 GB, free: 14.56 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