Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 249.9 MB, free: 3.23 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.761/2.761, allocations: 476.7 MB / 0.7634 GB, free: 15.26 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=529,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=529,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 75.86 kB / 1.108 GB, free: 4.715 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.07169/1.087, allocations: 61.05 MB / 1.332 GB, free: 12.2 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02346/1.111, allocations: 13.27 MB / 1.345 GB, free: 2.691 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003788/1.115, allocations: 70.88 kB / 1.345 GB, free: 2.664 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003865/1.119, allocations: 0.9983 MB / 1.346 GB, free: 2.074 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.009276/1.128, allocations: 2.444 MB / 1.348 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00596/1.134, allocations: 1.611 MB / 1.35 GB, free: 15.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009065/1.143, allocations: 4.345 MB / 1.354 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002672/1.146, allocations: 1.114 MB / 1.355 GB, free: 13.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005434/1.151, allocations: 1.624 MB / 1.357 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003656/1.155, allocations: 1.265 MB / 1.358 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006219/1.155, allocations: 144.2 kB / 1.358 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005392/1.161, allocations: 1.53 MB / 1.36 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001057/1.162, allocations: 449.9 kB / 1.36 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002534/1.164, allocations: 0.9321 MB / 1.361 GB, free: 10.37 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008649/1.173, allocations: 2.844 MB / 1.364 GB, free: 9.273 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/1.173, allocations: 0 / 1.364 GB, free: 9.273 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.885e-06/1.173, allocations: 0 / 1.364 GB, free: 9.273 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.033e-05/1.173, allocations: 0 / 1.364 GB, free: 9.273 MB / 1.061 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.006503/1.179, allocations: 2.281 MB / 1.366 GB, free: 7.531 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.18, allocations: 9.25 kB / 1.366 GB, free: 7.531 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004597/1.184, allocations: 0.6229 MB / 1.367 GB, free: 7.258 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003882/1.188, allocations: 1.493 MB / 1.368 GB, free: 6.113 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000242/1.188, allocations: 142 kB / 1.368 GB, free: 6.012 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/1.189, allocations: 100.3 kB / 1.368 GB, free: 5.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003808/1.192, allocations: 1.386 MB / 1.37 GB, free: 5.164 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/1.192, allocations: 0.8125 kB / 1.37 GB, free: 5.164 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/1.193, allocations: 42.03 kB / 1.37 GB, free: 5.133 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/1.193, allocations: 27.66 kB / 1.37 GB, free: 5.129 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004376/1.197, allocations: 1.435 MB / 1.371 GB, free: 4.457 MB / 1.061 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.01067/1.208, allocations: 5.604 MB / 1.377 GB, free: 15.72 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002873/1.21, allocations: 1.075 MB / 1.378 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/1.212, allocations: 0.5902 MB / 1.378 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/1.214, allocations: 1.233 MB / 1.38 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002771/1.216, allocations: 0.6904 MB / 1.38 GB, free: 12.99 MB / 1.076 GB Notification: Performance of pre-optimization done (n=70): time 4.98e-06/1.216, allocations: 0 / 1.38 GB, free: 12.99 MB / 1.076 GB Notification: Performance of matching and sorting (n=70): time 0.007755/1.224, allocations: 1.791 MB / 1.382 GB, free: 12.18 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/1.224, allocations: 63.19 kB / 1.382 GB, free: 12.11 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003199/1.227, allocations: 1.349 MB / 1.383 GB, free: 11.38 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003167/1.228, allocations: 44.11 kB / 1.383 GB, free: 11.34 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/1.229, allocations: 0.6888 MB / 1.384 GB, free: 10.73 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005472/1.229, allocations: 251.9 kB / 1.384 GB, free: 10.51 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005164/1.23, allocations: 175.2 kB / 1.384 GB, free: 10.41 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002022/1.23, allocations: 333.4 kB / 1.385 GB, free: 10.08 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002425/1.232, allocations: 0.5618 MB / 1.385 GB, free: 9.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002732/1.235, allocations: 0.7876 MB / 1.386 GB, free: 9.305 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00472/1.24, allocations: 1.198 MB / 1.387 GB, free: 8.66 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/1.24, allocations: 4.938 kB / 1.387 GB, free: 8.656 MB / 1.076 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004957/1.245, allocations: 1.472 MB / 1.389 GB, free: 7.949 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.808e-05/1.245, allocations: 40.31 kB / 1.389 GB, free: 7.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.245, allocations: 4 kB / 1.389 GB, free: 7.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/1.245, allocations: 7.062 kB / 1.389 GB, free: 7.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/1.246, allocations: 268.5 kB / 1.389 GB, free: 7.828 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.488e-05/1.246, allocations: 10.53 kB / 1.389 GB, free: 7.824 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/1.249, allocations: 197 kB / 1.389 GB, free: 7.719 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002333/1.249, allocations: 43.41 kB / 1.389 GB, free: 7.703 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003365/1.252, allocations: 0.8201 MB / 1.39 GB, free: 7.266 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002806/1.255, allocations: 0.7757 MB / 1.391 GB, free: 6.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004517/1.26, allocations: 1.186 MB / 1.392 GB, free: 6.109 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.027e-05/1.26, allocations: 1.094 kB / 1.392 GB, free: 6.109 MB / 1.076 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.00467/1.264, allocations: 1.472 MB / 1.393 GB, free: 5.398 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/1.264, allocations: 32.3 kB / 1.393 GB, free: 5.367 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.264, allocations: 7.516 kB / 1.393 GB, free: 5.363 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.264, allocations: 10.25 kB / 1.393 GB, free: 5.359 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.266, allocations: 273.3 kB / 1.394 GB, free: 5.273 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/1.266, allocations: 6.281 kB / 1.394 GB, free: 5.273 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/1.268, allocations: 186.2 kB / 1.394 GB, free: 5.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/1.268, allocations: 38.2 kB / 1.394 GB, free: 5.168 MB / 1.076 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.0003969/1.268, allocations: 232.5 kB / 1.394 GB, free: 4.949 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003879/1.269, allocations: 158.1 kB / 1.394 GB, free: 4.863 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004254/1.273, allocations: 1.53 MB / 1.396 GB, free: 4.059 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/1.273, allocations: 8.25 kB / 1.396 GB, free: 4.059 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.273, allocations: 7.922 kB / 1.396 GB, free: 4.051 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003476/1.276, allocations: 1.283 MB / 1.397 GB, free: 3.383 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007878/1.284, allocations: 3.304 MB / 1.4 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.284, allocations: 8 kB / 1.4 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/1.285, allocations: 231.7 kB / 1.401 GB, free: 420 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/1.285, allocations: 8 kB / 1.401 GB, free: 412 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.237e-05/1.285, allocations: 31.97 kB / 1.401 GB, free: 380 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/1.285, allocations: 8 kB / 1.401 GB, free: 372 kB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.285, allocations: 7.938 kB / 1.401 GB, free: 364 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006202/1.292, allocations: 2.33 MB / 1.403 GB, free: 13.95 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.293, allocations: 363.6 kB / 1.403 GB, free: 13.58 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/1.293, allocations: 16 kB / 1.403 GB, free: 13.56 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/1.295, allocations: 135.9 kB / 1.403 GB, free: 13.43 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/1.295, allocations: 84.28 kB / 1.403 GB, free: 13.35 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/1.295, allocations: 39.97 kB / 1.403 GB, free: 13.31 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001539/1.297, allocations: 0.9572 MB / 1.404 GB, free: 12.36 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/1.297, allocations: 0 / 1.404 GB, free: 12.36 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002913/1.299, allocations: 0.8226 MB / 1.405 GB, free: 11.53 MB / 1.092 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.001485/1.301, allocations: 0.5372 MB / 1.406 GB, free: 11 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006077/1.307, allocations: 2.023 MB / 1.408 GB, free: 8.949 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.307, allocations: 0 / 1.408 GB, free: 8.949 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002087/1.309, allocations: 0.6718 MB / 1.408 GB, free: 8.273 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004048/1.313, allocations: 0.7627 MB / 1.409 GB, free: 7.527 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007488/1.321, allocations: 3.034 MB / 1.412 GB, free: 4.398 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/1.322, allocations: 1.241 MB / 1.413 GB, free: 3.125 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007815/1.322, allocations: 143.4 kB / 1.413 GB, free: 2.984 MB / 1.092 GB Notification: Performance of SimCode: time 1.543e-06/1.322, allocations: 0 / 1.413 GB, free: 2.984 MB / 1.092 GB Notification: Performance of Templates: time 0.04811/1.371, allocations: 27.72 MB / 1.44 GB, free: 7.461 MB / 1.123 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches