Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.462/2.462, allocations: 390.5 MB / 398 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009734/0.0009735, allocations: 179.5 kB / 491.2 MB, free: 1.57 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 107.4 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.692e-05/1.694e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.369, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.737/6.106, allocations: 2.219 GB / 3.431 GB, free: 58.31 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/6.106, allocations: 97.73 kB / 3.431 GB, free: 58.26 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.663/10.77, allocations: 1.051 GB / 4.482 GB, free: 192.3 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.553e-06/10.77, allocations: 0 / 4.482 GB, free: 192.3 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0004024/10.77, allocations: 71.2 kB / 4.482 GB, free: 192.3 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.008015/10.78, allocations: 2.812 MB / 4.485 GB, free: 191.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/10.78, allocations: 11.44 kB / 4.485 GB, free: 191.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007047/10.79, allocations: 0.9676 MB / 4.486 GB, free: 191 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006156/10.79, allocations: 2.099 MB / 4.488 GB, free: 190.6 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002553/10.79, allocations: 147.3 kB / 4.488 GB, free: 190.6 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007474/10.79, allocations: 127.7 kB / 4.488 GB, free: 190.6 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004652/10.8, allocations: 2.212 MB / 4.49 GB, free: 190.6 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003461/10.8, allocations: 1.932 MB / 4.492 GB, free: 190.4 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.572e-05/10.8, allocations: 0.9375 kB / 4.492 GB, free: 190.4 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/10.8, allocations: 3.281 kB / 4.492 GB, free: 190.4 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.108e-05/10.8, allocations: 79.78 kB / 4.492 GB, free: 190.4 MB / 1.182 GB Warning: The model contains alias variables with conflicting start and/or 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.01341/10.81, allocations: 8.511 MB / 4.501 GB, free: 187.4 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005323/10.82, allocations: 1.993 MB / 4.503 GB, free: 187.4 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/10.82, allocations: 0.8221 MB / 4.503 GB, free: 187.3 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007214/10.82, allocations: 0.802 MB / 4.504 GB, free: 186.5 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00155/10.82, allocations: 1.029 MB / 4.505 GB, free: 186.4 MB / 1.182 GB Notification: Performance of pre-optimization done (n=159): time 3.617e-06/10.82, allocations: 0 / 4.505 GB, free: 186.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=159): time 0.01141/10.83, allocations: 2.554 MB / 4.508 GB, free: 186.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.96e-05/10.83, allocations: 302.4 kB / 4.508 GB, free: 185.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/10.84, allocations: 1.431 MB / 4.509 GB, free: 185.6 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000486/10.84, allocations: 35.89 kB / 4.509 GB, free: 185.6 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007987/10.84, allocations: 1.051 MB / 4.511 GB, free: 185.2 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005581/10.84, allocations: 0.5029 MB / 4.511 GB, free: 184.9 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.993e-05/10.84, allocations: 0 / 4.511 GB, free: 184.9 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.566e-05/10.84, allocations: 366.4 kB / 4.511 GB, free: 184.6 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009067/10.84, allocations: 0.6233 MB / 4.512 GB, free: 184.6 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/10.84, allocations: 0.963 MB / 4.513 GB, free: 184.3 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/10.84, allocations: 0.7335 MB / 4.514 GB, free: 184.3 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/10.84, allocations: 0 / 4.514 GB, free: 184.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01077/10.85, allocations: 2.633 MB / 4.516 GB, free: 184.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002559/10.85, allocations: 1.145 MB / 4.517 GB, free: 182.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/10.85, allocations: 2.219 kB / 4.517 GB, free: 182.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/10.85, allocations: 0.5651 MB / 4.518 GB, free: 182.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/10.86, allocations: 358.8 kB / 4.518 GB, free: 182.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/10.87, allocations: 5.354 MB / 4.523 GB, free: 179.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00331/10.87, allocations: 274.1 kB / 4.524 GB, free: 179.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004059/10.87, allocations: 78.91 kB / 4.524 GB, free: 179.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/10.87, allocations: 4.688 kB / 4.524 GB, free: 179.8 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01053/10.89, allocations: 2.392 MB / 4.526 GB, free: 179.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/10.89, allocations: 3.688 kB / 4.526 GB, free: 179.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/10.89, allocations: 0.5639 MB / 4.527 GB, free: 179.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/10.89, allocations: 346 kB / 4.527 GB, free: 179.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/10.9, allocations: 4.758 MB / 4.532 GB, free: 177.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003256/10.9, allocations: 271.5 kB / 4.532 GB, free: 177.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/10.9, allocations: 78.98 kB / 4.532 GB, free: 177.2 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005541/10.91, allocations: 154.2 kB / 4.532 GB, free: 177 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004188/10.91, allocations: 219.6 kB / 4.532 GB, free: 176.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/10.92, allocations: 2.903 MB / 4.535 GB, free: 176.8 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.077e-05/10.92, allocations: 21.59 kB / 4.535 GB, free: 176.8 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/10.92, allocations: 0 / 4.535 GB, free: 176.8 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01049/10.93, allocations: 2.715 MB / 4.538 GB, free: 176.3 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/10.94, allocations: 5.616 MB / 4.543 GB, free: 175.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/10.94, allocations: 11.14 kB / 4.543 GB, free: 175.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/10.94, allocations: 358 kB / 4.544 GB, free: 175.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/10.95, allocations: 0.5696 MB / 4.544 GB, free: 175.4 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002808/10.95, allocations: 36.44 kB / 4.544 GB, free: 175.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01431/10.96, allocations: 5.484 MB / 4.55 GB, free: 172.4 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/10.96, allocations: 3.625 kB / 4.55 GB, free: 172.4 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/10.97, allocations: 4.186 MB / 4.554 GB, free: 171.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/10.98, allocations: 0.6825 MB / 4.554 GB, free: 171.2 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004262/10.98, allocations: 11.36 kB / 4.554 GB, free: 171.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/10.98, allocations: 221.7 kB / 4.555 GB, free: 171.2 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/10.98, allocations: 144.2 kB / 4.555 GB, free: 171.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001896/10.98, allocations: 78.25 kB / 4.555 GB, free: 171.2 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.00178/10.98, allocations: 1.086 MB / 4.556 GB, free: 171.1 MB / 1.182 GB Notification: Performance of sort global known variables: time 3.71e-07/10.98, allocations: 3 kB / 4.556 GB, free: 171.1 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.004561/10.99, allocations: 1.529 MB / 4.557 GB, free: 170.8 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (chi.vol1.dynBal.medium.Xi[1],chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol2.dynBal.U) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 3 (pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 7,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003856/10.99, allocations: 2.741 MB / 4.56 GB, free: 170.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.007178/11, allocations: 3.312 MB / 4.563 GB, free: 169.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/11, allocations: 3.969 kB / 4.563 GB, free: 169.5 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.004024/11, allocations: 1.409 MB / 4.565 GB, free: 169.3 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005134/11.01, allocations: 0.9558 MB / 4.566 GB, free: 169.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008247/11.01, allocations: 3.878 MB / 4.569 GB, free: 168.3 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/11.01, allocations: 1.739 MB / 4.571 GB, free: 167.5 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003585/11.02, allocations: 0.9246 MB / 4.572 GB, free: 167.5 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/11.02, allocations: 161.8 kB / 4.572 GB, free: 167.5 MB / 1.182 GB Notification: Performance of SimCode: time 1.754e-06/11.02, allocations: 1.969 kB / 4.572 GB, free: 167.5 MB / 1.182 GB Notification: Performance of Templates: time 0.09332/11.11, allocations: 66.5 MB / 4.637 GB, free: 156.1 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches