Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 212.4 kB / 23 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.626/1.626, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.376/3.376, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Fluid.Chillers.Examples.ElectricEIR") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 63.31 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.4771, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.07098/0.5481, allocations: 55.93 MB / 1.382 GB, free: 8.828 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02294/0.571, allocations: 12.25 MB / 1.394 GB, free: 12.54 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003887/0.5749, allocations: 103.1 kB / 1.394 GB, free: 12.44 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00347/0.5783, allocations: 0.9353 MB / 1.395 GB, free: 11.5 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008855/0.5872, allocations: 2.472 MB / 1.397 GB, free: 9.016 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005199/0.5924, allocations: 1.632 MB / 1.399 GB, free: 7.395 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007816/0.6002, allocations: 4.427 MB / 1.403 GB, free: 2.957 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.6024, allocations: 1.092 MB / 1.404 GB, free: 1.828 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005337/0.6077, allocations: 1.854 MB / 1.406 GB, free: 15.97 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002729/0.6104, allocations: 1.256 MB / 1.407 GB, free: 14.71 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002867/0.6107, allocations: 144 kB / 1.407 GB, free: 14.57 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003435/0.6141, allocations: 1.244 MB / 1.408 GB, free: 13.33 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005275/0.6147, allocations: 446.2 kB / 1.409 GB, free: 12.89 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.6157, allocations: 0.7425 MB / 1.41 GB, free: 12.14 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005656/0.6214, allocations: 2.834 MB / 1.412 GB, free: 9.301 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.6214, allocations: 0 / 1.412 GB, free: 9.301 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6214, allocations: 3.938 kB / 1.412 GB, free: 9.297 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.678e-05/0.6214, allocations: 4 kB / 1.412 GB, free: 9.293 MB / 1.107 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.005239/0.6267, allocations: 2.182 MB / 1.415 GB, free: 7.059 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.6267, allocations: 8.031 kB / 1.415 GB, free: 7.051 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004611/0.6313, allocations: 0.6239 MB / 1.415 GB, free: 6.426 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00353/0.6349, allocations: 1.409 MB / 1.417 GB, free: 4.977 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002664/0.6351, allocations: 204.8 kB / 1.417 GB, free: 4.75 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/0.6353, allocations: 104 kB / 1.417 GB, free: 4.648 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004201/0.6395, allocations: 1.536 MB / 1.418 GB, free: 3.043 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.557e-05/0.6396, allocations: 0 / 1.418 GB, free: 3.043 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.6397, allocations: 36 kB / 1.418 GB, free: 3.008 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/0.6398, allocations: 24 kB / 1.418 GB, free: 2.984 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004362/0.6441, allocations: 1.421 MB / 1.42 GB, free: 1.559 MB / 1.107 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.008709/0.6528, allocations: 3.961 MB / 1.424 GB, free: 13.52 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00614/0.659, allocations: 1.261 MB / 1.425 GB, free: 12.25 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.6608, allocations: 0.5932 MB / 1.425 GB, free: 11.65 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004635/0.6613, allocations: 112.6 kB / 1.426 GB, free: 11.54 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002196/0.6635, allocations: 0.8457 MB / 1.426 GB, free: 10.64 MB / 1.123 GB Notification: Performance of pre-optimization done (n=70): time 5.01e-06/0.6635, allocations: 4 kB / 1.426 GB, free: 10.64 MB / 1.123 GB Notification: Performance of matching and sorting (n=70): time 0.006196/0.6697, allocations: 1.754 MB / 1.428 GB, free: 8.883 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.6698, allocations: 64.05 kB / 1.428 GB, free: 8.809 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.6717, allocations: 1.237 MB / 1.429 GB, free: 7.559 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.6718, allocations: 41.7 kB / 1.429 GB, free: 7.512 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007689/0.6726, allocations: 0.6742 MB / 1.43 GB, free: 6.832 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003202/0.6729, allocations: 253.8 kB / 1.43 GB, free: 6.582 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/0.6733, allocations: 182.5 kB / 1.43 GB, free: 6.398 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.6735, allocations: 338 kB / 1.431 GB, free: 6.062 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/0.6753, allocations: 0.5841 MB / 1.431 GB, free: 5.469 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002513/0.6778, allocations: 1.282 MB / 1.433 GB, free: 3.984 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0036/0.6814, allocations: 1.187 MB / 1.434 GB, free: 2.746 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.6814, allocations: 0 / 1.434 GB, free: 2.746 MB / 1.123 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004451/0.6858, allocations: 1.491 MB / 1.435 GB, free: 1.234 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.6859, allocations: 34.8 kB / 1.435 GB, free: 1.195 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.6859, allocations: 4 kB / 1.435 GB, free: 1.191 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.6859, allocations: 8 kB / 1.435 GB, free: 1.184 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.6874, allocations: 267.9 kB / 1.436 GB, free: 0.9219 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.6874, allocations: 15.88 kB / 1.436 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.6891, allocations: 175.5 kB / 1.436 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.6892, allocations: 43.95 kB / 1.436 GB, free: 0.6914 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002448/0.6917, allocations: 0.8353 MB / 1.437 GB, free: 15.84 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002461/0.6941, allocations: 1.29 MB / 1.438 GB, free: 14.35 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003573/0.6977, allocations: 1.187 MB / 1.439 GB, free: 13.12 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.629e-06/0.6977, allocations: 0 / 1.439 GB, free: 13.12 MB / 1.139 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004796/0.7025, allocations: 1.472 MB / 1.44 GB, free: 11.62 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.552e-05/0.7026, allocations: 41.72 kB / 1.44 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.7026, allocations: 4 kB / 1.44 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.7026, allocations: 4 kB / 1.44 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.704, allocations: 267.7 kB / 1.441 GB, free: 11.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.704, allocations: 11.94 kB / 1.441 GB, free: 11.29 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.7059, allocations: 187.3 kB / 1.441 GB, free: 11.11 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.706, allocations: 35.97 kB / 1.441 GB, free: 11.07 MB / 1.139 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.0005637/0.7065, allocations: 232.1 kB / 1.441 GB, free: 10.84 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005321/0.7071, allocations: 147.1 kB / 1.441 GB, free: 10.7 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004913/0.712, allocations: 1.512 MB / 1.443 GB, free: 9.16 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003691/0.7157, allocations: 1.288 MB / 1.444 GB, free: 7.84 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.7157, allocations: 0 / 1.444 GB, free: 7.84 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/0.717, allocations: 258.6 kB / 1.444 GB, free: 7.586 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/0.7173, allocations: 16 kB / 1.444 GB, free: 7.57 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/0.7186, allocations: 127.8 kB / 1.444 GB, free: 7.445 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/0.7189, allocations: 60.55 kB / 1.445 GB, free: 7.387 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004948/0.7238, allocations: 1.469 MB / 1.446 GB, free: 5.91 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006092/0.7299, allocations: 2.284 MB / 1.448 GB, free: 3.605 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001812/0.7317, allocations: 0.5985 MB / 1.449 GB, free: 3.004 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001427/0.7331, allocations: 0.8397 MB / 1.45 GB, free: 2.164 MB / 1.139 GB Notification: Performance of Backend: time 5.61e-07/0.7331, allocations: 3.938 kB / 1.45 GB, free: 2.16 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.006585/0.7397, allocations: 2.06 MB / 1.452 GB, free: 72 kB / 1.139 GB Notification: Performance of SimCode: time 0.005919/0.7456, allocations: 3.14 MB / 1.455 GB, free: 12.88 MB / 1.154 GB Notification: Performance of Templates: time 0.07164/0.8173, allocations: 41.48 MB / 1.495 GB, free: 3.922 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.863483100001758]