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.001844/0.001844, allocations: 119.9 kB / 17.13 MB, free: 5.758 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.001896/0.001896, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.481/1.481, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.643/2.643, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5763 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00215/0.00215, allocations: 68.12 kB / 1.057 GB, free: 1.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4066, allocations: 160.7 MB / 1.214 GB, free: 0.9023 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.7489/1.156, allocations: 61.05 MB / 1.274 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01684/1.172, allocations: 13.23 MB / 1.287 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/1.175, allocations: 68.91 kB / 1.287 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002653/1.178, allocations: 0.9951 MB / 1.288 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007071/1.185, allocations: 2.44 MB / 1.29 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004243/1.189, allocations: 1.59 MB / 1.292 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007703/1.197, allocations: 4.318 MB / 1.296 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002025/1.199, allocations: 1.121 MB / 1.297 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004058/1.203, allocations: 1.612 MB / 1.298 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/1.205, allocations: 1.26 MB / 1.3 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003132/1.205, allocations: 145.8 kB / 1.3 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004847/1.21, allocations: 1.501 MB / 1.301 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006061/1.211, allocations: 444.4 kB / 1.302 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/1.212, allocations: 0.9122 MB / 1.303 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00668/1.219, allocations: 2.797 MB / 1.305 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/1.219, allocations: 0 / 1.305 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.492e-06/1.219, allocations: 0 / 1.305 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.223e-05/1.219, allocations: 1.094 kB / 1.305 GB, free: 2.625 MB / 0.9981 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.004455/1.223, allocations: 2.253 MB / 1.308 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/1.223, allocations: 14.02 kB / 1.308 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004534/1.228, allocations: 0.6131 MB / 1.308 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002973/1.231, allocations: 1.469 MB / 1.31 GB, free: 212 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/1.231, allocations: 149.1 kB / 1.31 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/1.231, allocations: 104.4 kB / 1.31 GB, free: 72 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004233/1.236, allocations: 1.434 MB / 1.311 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/1.236, allocations: 1.031 kB / 1.311 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/1.236, allocations: 38.7 kB / 1.311 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/1.236, allocations: 36.02 kB / 1.311 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004434/1.24, allocations: 1.419 MB / 1.313 GB, free: 15.31 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.01041/1.251, allocations: 5.589 MB / 1.318 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006149/1.257, allocations: 1.35 MB / 1.319 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002071/1.259, allocations: 0.5942 MB / 1.32 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/1.26, allocations: 1.233 MB / 1.321 GB, free: 9.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002294/1.262, allocations: 0.6827 MB / 1.322 GB, free: 9.379 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 3.697e-06/1.262, allocations: 0 / 1.322 GB, free: 9.379 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.006329/1.269, allocations: 1.763 MB / 1.324 GB, free: 8.859 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/1.269, allocations: 67.62 kB / 1.324 GB, free: 8.789 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002945/1.272, allocations: 1.294 MB / 1.325 GB, free: 8.285 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002077/1.272, allocations: 48.17 kB / 1.325 GB, free: 8.238 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009253/1.273, allocations: 0.6525 MB / 1.326 GB, free: 7.727 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004084/1.273, allocations: 253.1 kB / 1.326 GB, free: 7.531 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004399/1.274, allocations: 180.7 kB / 1.326 GB, free: 7.449 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002298/1.274, allocations: 338.1 kB / 1.326 GB, free: 7.129 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/1.276, allocations: 0.5529 MB / 1.327 GB, free: 6.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002133/1.278, allocations: 0.7812 MB / 1.328 GB, free: 6.586 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003623/1.282, allocations: 1.191 MB / 1.329 GB, free: 6.105 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/1.282, allocations: 1.406 kB / 1.329 GB, free: 6.105 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004505/1.286, allocations: 1.463 MB / 1.33 GB, free: 5.602 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.792e-05/1.286, allocations: 35.97 kB / 1.33 GB, free: 5.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.286, allocations: 2.688 kB / 1.33 GB, free: 5.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/1.286, allocations: 6.375 kB / 1.33 GB, free: 5.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/1.287, allocations: 275.9 kB / 1.331 GB, free: 5.539 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/1.287, allocations: 6.625 kB / 1.331 GB, free: 5.539 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/1.289, allocations: 188.2 kB / 1.331 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/1.29, allocations: 40.39 kB / 1.331 GB, free: 5.477 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002385/1.292, allocations: 0.8088 MB / 1.332 GB, free: 5.152 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001999/1.294, allocations: 0.7662 MB / 1.332 GB, free: 4.766 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003451/1.297, allocations: 1.177 MB / 1.334 GB, free: 4.289 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.34e-06/1.297, allocations: 6.469 kB / 1.334 GB, free: 4.285 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004471/1.302, allocations: 1.45 MB / 1.335 GB, free: 3.781 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/1.302, allocations: 37.52 kB / 1.335 GB, free: 3.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.302, allocations: 3.594 kB / 1.335 GB, free: 3.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/1.302, allocations: 6.344 kB / 1.335 GB, free: 3.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/1.303, allocations: 267.5 kB / 1.335 GB, free: 3.723 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/1.303, allocations: 10.59 kB / 1.335 GB, free: 3.719 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/1.305, allocations: 192.4 kB / 1.335 GB, free: 3.664 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.305, allocations: 41.31 kB / 1.335 GB, free: 3.656 MB / 1.014 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.0004316/1.306, allocations: 226.4 kB / 1.336 GB, free: 3.441 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003612/1.306, allocations: 153.4 kB / 1.336 GB, free: 3.359 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/1.31, allocations: 1.514 MB / 1.337 GB, free: 2.855 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/1.31, allocations: 11.16 kB / 1.337 GB, free: 2.852 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.31, allocations: 5.312 kB / 1.337 GB, free: 2.848 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003587/1.314, allocations: 1.269 MB / 1.339 GB, free: 2.391 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0079/1.322, allocations: 3.265 MB / 1.342 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/1.322, allocations: 12.33 kB / 1.342 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/1.323, allocations: 226.1 kB / 1.342 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.474e-05/1.323, allocations: 6.625 kB / 1.342 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.779e-05/1.323, allocations: 31.55 kB / 1.342 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.397e-05/1.323, allocations: 16.11 kB / 1.342 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/1.323, allocations: 8.156 kB / 1.342 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006822/1.33, allocations: 2.296 MB / 1.344 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/1.331, allocations: 355.6 kB / 1.345 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002598/1.332, allocations: 31.98 kB / 1.345 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/1.333, allocations: 131.8 kB / 1.345 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/1.333, allocations: 74.2 kB / 1.345 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/1.333, allocations: 45.94 kB / 1.345 GB, free: 14.81 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001505/1.335, allocations: 0.9243 MB / 1.346 GB, free: 14.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/1.335, allocations: 0 / 1.346 GB, free: 14.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002596/1.337, allocations: 0.807 MB / 1.347 GB, free: 14.13 MB / 1.029 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.001289/1.339, allocations: 0.5116 MB / 1.347 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006081/1.345, allocations: 2.009 MB / 1.349 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.345, allocations: 0 / 1.349 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002057/1.347, allocations: 0.664 MB / 1.35 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004008/1.351, allocations: 0.7589 MB / 1.35 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006751/1.358, allocations: 2.969 MB / 1.353 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009277/1.359, allocations: 1.227 MB / 1.355 GB, free: 9.473 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007464/1.359, allocations: 141 kB / 1.355 GB, free: 9.438 MB / 1.029 GB Notification: Performance of SimCode: time 1.803e-06/1.359, allocations: 0 / 1.355 GB, free: 9.438 MB / 1.029 GB Notification: Performance of Templates: time 0.04913/1.408, allocations: 27.33 MB / 1.381 GB, free: 2.652 MB / 1.045 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 17.245065866969526]