Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.001813/0.001813, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002604/0.002604, allocations: 208.7 kB / 23 MB, free: 4.934 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.571/1.571, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.449/3.449, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") [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.002098/0.002098, allocations: 69.48 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.518/0.5201, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.07043/0.5905, allocations: 55.92 MB / 1.382 GB, free: 8.875 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02558/0.6161, allocations: 12.3 MB / 1.394 GB, free: 12.54 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004058/0.6202, allocations: 99.12 kB / 1.394 GB, free: 12.45 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003959/0.6241, allocations: 0.9393 MB / 1.395 GB, free: 11.5 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.6346, allocations: 2.474 MB / 1.397 GB, free: 9.02 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006354/0.6409, allocations: 1.647 MB / 1.399 GB, free: 7.383 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.009591/0.6505, allocations: 4.427 MB / 1.403 GB, free: 2.945 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002582/0.6531, allocations: 1.077 MB / 1.404 GB, free: 1.832 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006262/0.6593, allocations: 1.866 MB / 1.406 GB, free: 15.96 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002847/0.6622, allocations: 1.252 MB / 1.407 GB, free: 14.71 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003004/0.6625, allocations: 144 kB / 1.407 GB, free: 14.57 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003991/0.6665, allocations: 1.271 MB / 1.409 GB, free: 13.29 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006792/0.6672, allocations: 454.2 kB / 1.409 GB, free: 12.85 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.6685, allocations: 0.7542 MB / 1.41 GB, free: 12.09 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006801/0.6753, allocations: 2.88 MB / 1.413 GB, free: 9.199 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.6753, allocations: 0 / 1.413 GB, free: 9.199 MB / 1.107 GB Notification: Performance of FrontEnd: time 4.068e-06/0.6753, allocations: 0 / 1.413 GB, free: 9.199 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.118e-05/0.6753, allocations: 7.938 kB / 1.413 GB, free: 9.191 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.005026/0.6804, allocations: 2.213 MB / 1.415 GB, free: 6.926 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.6804, allocations: 8.031 kB / 1.415 GB, free: 6.918 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004526/0.685, allocations: 0.6278 MB / 1.415 GB, free: 6.289 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003365/0.6883, allocations: 1.434 MB / 1.417 GB, free: 4.816 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.6885, allocations: 200.8 kB / 1.417 GB, free: 4.594 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.6887, allocations: 100 kB / 1.417 GB, free: 4.496 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003579/0.6923, allocations: 1.536 MB / 1.419 GB, free: 2.891 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.6924, allocations: 3.938 kB / 1.419 GB, free: 2.887 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.6925, allocations: 36 kB / 1.419 GB, free: 2.852 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.196e-05/0.6925, allocations: 24 kB / 1.419 GB, free: 2.828 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004233/0.6967, allocations: 1.436 MB / 1.42 GB, free: 1.387 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.008399/0.7051, allocations: 3.997 MB / 1.424 GB, free: 13.31 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/0.7079, allocations: 0.9069 MB / 1.425 GB, free: 12.39 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.7096, allocations: 0.5844 MB / 1.425 GB, free: 11.81 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000493/0.7101, allocations: 124.6 kB / 1.425 GB, free: 11.69 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002126/0.7122, allocations: 0.8419 MB / 1.426 GB, free: 10.79 MB / 1.123 GB Notification: Performance of pre-optimization done (n=70): time 4.008e-06/0.7123, allocations: 0 / 1.426 GB, free: 10.79 MB / 1.123 GB Notification: Performance of matching and sorting (n=70): time 0.005856/0.7181, allocations: 1.785 MB / 1.428 GB, free: 9.004 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.7182, allocations: 56.06 kB / 1.428 GB, free: 8.938 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.7202, allocations: 1.286 MB / 1.429 GB, free: 7.641 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.7203, allocations: 45.7 kB / 1.429 GB, free: 7.59 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008227/0.7211, allocations: 0.7025 MB / 1.43 GB, free: 6.883 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.7214, allocations: 249.8 kB / 1.43 GB, free: 6.637 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003664/0.7218, allocations: 186.5 kB / 1.43 GB, free: 6.449 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.722, allocations: 334 kB / 1.431 GB, free: 6.117 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/0.7237, allocations: 0.588 MB / 1.431 GB, free: 5.52 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/0.726, allocations: 1.289 MB / 1.433 GB, free: 4.027 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003428/0.7295, allocations: 1.203 MB / 1.434 GB, free: 2.773 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.7295, allocations: 4 kB / 1.434 GB, free: 2.77 MB / 1.123 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004426/0.7339, allocations: 1.499 MB / 1.435 GB, free: 1.25 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.734, allocations: 33.7 kB / 1.435 GB, free: 1.211 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.734, allocations: 4 kB / 1.435 GB, free: 1.207 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/0.734, allocations: 7.938 kB / 1.435 GB, free: 1.199 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.7354, allocations: 271.6 kB / 1.436 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.7355, allocations: 11.98 kB / 1.436 GB, free: 0.9219 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.7372, allocations: 187.3 kB / 1.436 GB, free: 0.7383 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.7373, allocations: 39.98 kB / 1.436 GB, free: 0.6992 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002366/0.7397, allocations: 0.8549 MB / 1.437 GB, free: 15.83 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002339/0.742, allocations: 1.294 MB / 1.438 GB, free: 14.34 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003412/0.7454, allocations: 1.187 MB / 1.439 GB, free: 13.1 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.599e-06/0.7454, allocations: 0 / 1.439 GB, free: 13.1 MB / 1.139 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004554/0.75, allocations: 1.495 MB / 1.441 GB, free: 11.58 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.75, allocations: 37.69 kB / 1.441 GB, free: 11.54 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.75, allocations: 0 / 1.441 GB, free: 11.54 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.75, allocations: 12 kB / 1.441 GB, free: 11.53 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.7514, allocations: 267.9 kB / 1.441 GB, free: 11.27 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/0.7514, allocations: 11.94 kB / 1.441 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.7533, allocations: 179.5 kB / 1.441 GB, free: 11.08 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.7534, allocations: 43.97 kB / 1.441 GB, free: 11.04 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.0004505/0.7538, allocations: 232 kB / 1.441 GB, free: 10.8 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/0.7541, allocations: 147.1 kB / 1.441 GB, free: 10.66 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004556/0.7587, allocations: 1.532 MB / 1.443 GB, free: 9.102 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003575/0.7623, allocations: 1.296 MB / 1.444 GB, free: 7.773 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.7623, allocations: 0 / 1.444 GB, free: 7.773 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009699/0.7632, allocations: 266.7 kB / 1.444 GB, free: 7.512 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.7634, allocations: 12 kB / 1.444 GB, free: 7.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.7647, allocations: 127.8 kB / 1.445 GB, free: 7.375 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.7649, allocations: 52.56 kB / 1.445 GB, free: 7.324 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004659/0.7695, allocations: 1.492 MB / 1.446 GB, free: 5.824 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005885/0.7754, allocations: 2.304 MB / 1.448 GB, free: 3.5 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001824/0.7772, allocations: 0.6102 MB / 1.449 GB, free: 2.887 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001623/0.7789, allocations: 0.8839 MB / 1.45 GB, free: 2.004 MB / 1.139 GB Notification: Performance of Backend: time 6.52e-07/0.7789, allocations: 0 / 1.45 GB, free: 2.004 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007226/0.7861, allocations: 2.088 MB / 1.452 GB, free: 15.89 MB / 1.154 GB Notification: Performance of SimCode: time 0.006628/0.7927, allocations: 3.2 MB / 1.455 GB, free: 12.64 MB / 1.154 GB Notification: Performance of Templates: time 0.07689/0.8696, allocations: 41.84 MB / 1.496 GB, free: 3.336 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.747217593998357]