Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 185.1 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.683/2.683, allocations: 443.4 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 59.91 kB / 1.061 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 160.8 MB / 1.218 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.07529/1.097, allocations: 61.64 MB / 1.279 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0258/1.123, allocations: 13.26 MB / 1.292 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00435/1.128, allocations: 95.19 kB / 1.292 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003748/1.131, allocations: 1.005 MB / 1.293 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01092/1.142, allocations: 2.475 MB / 1.295 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006183/1.148, allocations: 1.645 MB / 1.297 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009577/1.158, allocations: 4.436 MB / 1.301 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00281/1.161, allocations: 1.073 MB / 1.302 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005378/1.166, allocations: 1.649 MB / 1.304 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003285/1.169, allocations: 1.268 MB / 1.305 GB, free: 14.47 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004318/1.17, allocations: 144 kB / 1.305 GB, free: 14.33 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004675/1.175, allocations: 1.521 MB / 1.307 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006773/1.175, allocations: 438.2 kB / 1.307 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001773/1.177, allocations: 0.9173 MB / 1.308 GB, free: 11.45 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00681/1.184, allocations: 2.793 MB / 1.311 GB, free: 8.652 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.184, allocations: 0 / 1.311 GB, free: 8.652 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.235e-06/1.184, allocations: 0 / 1.311 GB, free: 8.652 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.588e-05/1.184, allocations: 0 / 1.311 GB, free: 8.652 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.006496/1.19, allocations: 2.249 MB / 1.313 GB, free: 6.332 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/1.19, allocations: 12.03 kB / 1.313 GB, free: 6.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004544/1.195, allocations: 0.62 MB / 1.313 GB, free: 5.699 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/1.199, allocations: 1.473 MB / 1.315 GB, free: 4.176 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/1.199, allocations: 145.4 kB / 1.315 GB, free: 4.02 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003214/1.199, allocations: 104 kB / 1.315 GB, free: 3.918 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/1.203, allocations: 1.377 MB / 1.316 GB, free: 2.508 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/1.203, allocations: 11.89 kB / 1.316 GB, free: 2.496 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/1.203, allocations: 36 kB / 1.317 GB, free: 2.461 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/1.203, allocations: 31.94 kB / 1.317 GB, free: 2.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004131/1.207, allocations: 1.417 MB / 1.318 GB, free: 1.008 MB / 1.014 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.01029/1.218, allocations: 5.58 MB / 1.323 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005997/1.224, allocations: 1.348 MB / 1.325 GB, free: 9.703 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/1.225, allocations: 0.6038 MB / 1.325 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/1.227, allocations: 1.24 MB / 1.326 GB, free: 7.582 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002103/1.229, allocations: 0.6874 MB / 1.327 GB, free: 6.883 MB / 1.029 GB Notification: Performance of pre-optimization done (n=70): time 3.577e-06/1.229, allocations: 0 / 1.327 GB, free: 6.883 MB / 1.029 GB Notification: Performance of matching and sorting (n=70): time 0.005862/1.235, allocations: 1.769 MB / 1.329 GB, free: 5.109 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/1.235, allocations: 64.05 kB / 1.329 GB, free: 5.031 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/1.237, allocations: 1.299 MB / 1.33 GB, free: 3.723 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001794/1.237, allocations: 45.7 kB / 1.33 GB, free: 3.672 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007598/1.238, allocations: 0.659 MB / 1.331 GB, free: 3.004 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/1.238, allocations: 253.8 kB / 1.331 GB, free: 2.754 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003434/1.239, allocations: 174.6 kB / 1.331 GB, free: 2.578 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001929/1.239, allocations: 334 kB / 1.332 GB, free: 2.246 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/1.241, allocations: 0.559 MB / 1.332 GB, free: 1.684 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/1.243, allocations: 0.7796 MB / 1.333 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003382/1.246, allocations: 1.187 MB / 1.334 GB, free: 15.59 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.246, allocations: 0 / 1.334 GB, free: 15.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004468/1.251, allocations: 1.462 MB / 1.336 GB, free: 14.11 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.083e-05/1.251, allocations: 33.7 kB / 1.336 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.251, allocations: 4 kB / 1.336 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/1.251, allocations: 7.938 kB / 1.336 GB, free: 14.06 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/1.252, allocations: 271.9 kB / 1.336 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/1.252, allocations: 11.98 kB / 1.336 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/1.254, allocations: 191.3 kB / 1.336 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/1.254, allocations: 39.97 kB / 1.336 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002327/1.256, allocations: 0.8102 MB / 1.337 GB, free: 12.74 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001951/1.258, allocations: 0.7673 MB / 1.338 GB, free: 11.89 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003427/1.262, allocations: 1.175 MB / 1.339 GB, free: 10.67 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.047e-06/1.262, allocations: 3.938 kB / 1.339 GB, free: 10.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004321/1.266, allocations: 1.458 MB / 1.34 GB, free: 9.195 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/1.266, allocations: 33.7 kB / 1.34 GB, free: 9.156 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/1.266, allocations: 4 kB / 1.34 GB, free: 9.152 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/1.266, allocations: 8 kB / 1.34 GB, free: 9.145 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/1.267, allocations: 267.9 kB / 1.34 GB, free: 8.883 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/1.267, allocations: 15.92 kB / 1.34 GB, free: 8.867 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/1.269, allocations: 183.4 kB / 1.341 GB, free: 8.688 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.81e-05/1.269, allocations: 39.92 kB / 1.341 GB, free: 8.648 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (chi.tru.y,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 (97): * Single equations (assignments): 96 * 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.0003962/1.27, allocations: 232 kB / 1.341 GB, free: 8.414 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/1.27, allocations: 155.1 kB / 1.341 GB, free: 8.262 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004464/1.275, allocations: 1.509 MB / 1.343 GB, free: 6.73 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.298e-05/1.275, allocations: 19.86 kB / 1.343 GB, free: 6.711 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/1.275, allocations: 4 kB / 1.343 GB, free: 6.707 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003614/1.278, allocations: 1.281 MB / 1.344 GB, free: 5.395 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009117/1.287, allocations: 3.271 MB / 1.347 GB, free: 1.969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/1.287, allocations: 4 kB / 1.347 GB, free: 1.965 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/1.289, allocations: 227.8 kB / 1.347 GB, free: 1.742 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.602e-05/1.289, allocations: 8 kB / 1.347 GB, free: 1.734 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-05/1.289, allocations: 35.91 kB / 1.347 GB, free: 1.699 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.529e-05/1.289, allocations: 8 kB / 1.347 GB, free: 1.691 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.289, allocations: 7.938 kB / 1.347 GB, free: 1.684 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006554/1.295, allocations: 2.307 MB / 1.35 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/1.297, allocations: 367.7 kB / 1.35 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005035/1.297, allocations: 20 kB / 1.35 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00178/1.299, allocations: 135.8 kB / 1.35 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/1.299, allocations: 76.27 kB / 1.35 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/1.299, allocations: 43.97 kB / 1.35 GB, free: 14.65 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001759/1.301, allocations: 0.9285 MB / 1.351 GB, free: 13.72 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.301, allocations: 0 / 1.351 GB, free: 13.72 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003038/1.304, allocations: 0.8148 MB / 1.352 GB, free: 12.91 MB / 1.061 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 (74): * Single equations (assignments): 66 * 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.001497/1.305, allocations: 0.5171 MB / 1.352 GB, free: 12.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006063/1.311, allocations: 2.015 MB / 1.354 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/1.311, allocations: 0 / 1.354 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002257/1.314, allocations: 0.687 MB / 1.355 GB, free: 9.668 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004724/1.318, allocations: 0.7479 MB / 1.356 GB, free: 8.934 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008321/1.327, allocations: 2.925 MB / 1.359 GB, free: 5.918 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/1.328, allocations: 1.234 MB / 1.36 GB, free: 4.656 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002328/1.331, allocations: 375.5 kB / 1.36 GB, free: 4.285 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005784/1.331, allocations: 127.4 kB / 1.36 GB, free: 4.16 MB / 1.061 GB Notification: Performance of SimCode: time 1.603e-06/1.331, allocations: 0 / 1.36 GB, free: 4.16 MB / 1.061 GB Notification: Performance of Templates: time 0.06734/1.399, allocations: 32.72 MB / 1.392 GB, free: 3.824 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.661282516084611]