Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001632/0.001632, allocations: 111.5 kB / 17.08 MB, free: 6.008 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.001645/0.001645, allocations: 191.7 kB / 20.03 MB, free: 3.078 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.446/1.446, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.97/2.97, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.91 kB / 1.103 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.044, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.07228/1.116, allocations: 60.71 MB / 1.322 GB, free: 12.45 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0235/1.14, allocations: 13.2 MB / 1.335 GB, free: 2.98 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003781/1.143, allocations: 75.41 kB / 1.335 GB, free: 2.949 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003811/1.147, allocations: 0.9631 MB / 1.336 GB, free: 2.363 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00889/1.156, allocations: 2.308 MB / 1.338 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005631/1.162, allocations: 1.586 MB / 1.34 GB, free: 120 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.008562/1.17, allocations: 4.329 MB / 1.344 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002997/1.173, allocations: 1.344 MB / 1.345 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00571/1.179, allocations: 1.756 MB / 1.347 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003212/1.182, allocations: 1.199 MB / 1.348 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005224/1.183, allocations: 142.3 kB / 1.348 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005004/1.188, allocations: 1.466 MB / 1.35 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0008443/1.189, allocations: 421.2 kB / 1.35 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002165/1.191, allocations: 0.9104 MB / 1.351 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007741/1.199, allocations: 2.804 MB / 1.354 GB, free: 9.574 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.914e-06/1.199, allocations: 0.5156 kB / 1.354 GB, free: 9.574 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.584e-06/1.199, allocations: 0 / 1.354 GB, free: 9.574 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.088e-05/1.199, allocations: 0 / 1.354 GB, free: 9.574 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.005948/1.205, allocations: 2.25 MB / 1.356 GB, free: 8.078 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/1.205, allocations: 9.469 kB / 1.356 GB, free: 8.078 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004808/1.21, allocations: 0.6247 MB / 1.356 GB, free: 7.938 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003806/1.214, allocations: 1.468 MB / 1.358 GB, free: 7.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/1.214, allocations: 148.4 kB / 1.358 GB, free: 6.988 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/1.214, allocations: 101.9 kB / 1.358 GB, free: 6.957 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003843/1.218, allocations: 1.373 MB / 1.359 GB, free: 6.246 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/1.218, allocations: 5.188 kB / 1.359 GB, free: 6.242 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/1.218, allocations: 41.03 kB / 1.359 GB, free: 6.211 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.105e-05/1.218, allocations: 24.44 kB / 1.36 GB, free: 6.211 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004558/1.223, allocations: 1.425 MB / 1.361 GB, free: 5.543 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.009853/1.233, allocations: 5.583 MB / 1.366 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005927/1.239, allocations: 1.38 MB / 1.368 GB, free: 136 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/1.241, allocations: 0.6302 MB / 1.368 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/1.242, allocations: 1.237 MB / 1.37 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002146/1.244, allocations: 0.6845 MB / 1.37 GB, free: 14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=70): time 3.757e-06/1.244, allocations: 0 / 1.37 GB, free: 14 MB / 1.076 GB Notification: Performance of matching and sorting (n=70): time 0.006055/1.25, allocations: 1.77 MB / 1.372 GB, free: 13.2 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/1.25, allocations: 66.36 kB / 1.372 GB, free: 13.12 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/1.252, allocations: 1.288 MB / 1.373 GB, free: 12.43 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001678/1.252, allocations: 40.67 kB / 1.373 GB, free: 12.39 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007364/1.253, allocations: 0.6575 MB / 1.374 GB, free: 11.81 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003318/1.254, allocations: 256.2 kB / 1.374 GB, free: 11.59 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/1.254, allocations: 183.5 kB / 1.374 GB, free: 11.48 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001822/1.254, allocations: 337 kB / 1.375 GB, free: 11.15 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/1.256, allocations: 0.5566 MB / 1.375 GB, free: 10.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002056/1.258, allocations: 0.7739 MB / 1.376 GB, free: 10.38 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003579/1.262, allocations: 1.192 MB / 1.377 GB, free: 9.727 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.262, allocations: 1.062 kB / 1.377 GB, free: 9.727 MB / 1.076 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004587/1.266, allocations: 1.463 MB / 1.379 GB, free: 9.016 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/1.266, allocations: 37.47 kB / 1.379 GB, free: 8.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.266, allocations: 3.812 kB / 1.379 GB, free: 8.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/1.266, allocations: 10.09 kB / 1.379 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.268, allocations: 270.3 kB / 1.379 GB, free: 8.895 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/1.268, allocations: 6.281 kB / 1.379 GB, free: 8.895 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/1.27, allocations: 194.2 kB / 1.379 GB, free: 8.793 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/1.27, allocations: 38.95 kB / 1.379 GB, free: 8.781 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002437/1.272, allocations: 0.8137 MB / 1.38 GB, free: 8.344 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002043/1.274, allocations: 0.77 MB / 1.381 GB, free: 7.836 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003665/1.278, allocations: 1.182 MB / 1.382 GB, free: 7.184 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.062e-06/1.278, allocations: 5.875 kB / 1.382 GB, free: 7.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.004594/1.283, allocations: 1.447 MB / 1.383 GB, free: 6.484 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/1.283, allocations: 33.45 kB / 1.383 GB, free: 6.453 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.283, allocations: 3 kB / 1.383 GB, free: 6.453 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/1.283, allocations: 14.88 kB / 1.383 GB, free: 6.449 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/1.284, allocations: 260.4 kB / 1.384 GB, free: 6.375 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/1.284, allocations: 14.16 kB / 1.384 GB, free: 6.367 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/1.286, allocations: 191.5 kB / 1.384 GB, free: 6.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/1.286, allocations: 42.56 kB / 1.384 GB, free: 6.254 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.0004029/1.287, allocations: 231.4 kB / 1.384 GB, free: 6.035 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004447/1.287, allocations: 153.4 kB / 1.384 GB, free: 5.953 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004514/1.292, allocations: 1.505 MB / 1.386 GB, free: 5.156 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/1.292, allocations: 11.38 kB / 1.386 GB, free: 5.152 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.292, allocations: 0 / 1.386 GB, free: 5.152 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00374/1.295, allocations: 1.278 MB / 1.387 GB, free: 4.48 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008261/1.304, allocations: 3.255 MB / 1.39 GB, free: 2.254 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/1.304, allocations: 12.42 kB / 1.39 GB, free: 2.246 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/1.305, allocations: 229.9 kB / 1.39 GB, free: 2.176 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/1.305, allocations: 7.281 kB / 1.39 GB, free: 2.176 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.201e-05/1.305, allocations: 31.61 kB / 1.39 GB, free: 2.156 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-05/1.305, allocations: 15.77 kB / 1.39 GB, free: 2.148 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.305, allocations: 4.781 kB / 1.39 GB, free: 2.148 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006638/1.312, allocations: 2.295 MB / 1.393 GB, free: 0.8711 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/1.313, allocations: 359.2 kB / 1.393 GB, free: 0.5664 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005762/1.314, allocations: 28.17 kB / 1.393 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/1.315, allocations: 140.3 kB / 1.393 GB, free: 496 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/1.316, allocations: 74.08 kB / 1.393 GB, free: 452 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/1.316, allocations: 38.69 kB / 1.393 GB, free: 440 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002039/1.318, allocations: 0.9203 MB / 1.394 GB, free: 15.93 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.318, allocations: 0 / 1.394 GB, free: 15.93 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003681/1.322, allocations: 0.8178 MB / 1.395 GB, free: 15.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.001698/1.323, allocations: 0.5274 MB / 1.395 GB, free: 15 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006791/1.33, allocations: 2.081 MB / 1.397 GB, free: 12.9 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.33, allocations: 0 / 1.397 GB, free: 12.9 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002312/1.333, allocations: 0.6874 MB / 1.398 GB, free: 12.21 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004814/1.337, allocations: 0.7664 MB / 1.399 GB, free: 11.45 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007938/1.345, allocations: 2.96 MB / 1.402 GB, free: 8.395 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/1.347, allocations: 1.23 MB / 1.403 GB, free: 7.133 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007943/1.347, allocations: 139.4 kB / 1.403 GB, free: 6.996 MB / 1.092 GB Notification: Performance of SimCode: time 1.012e-06/1.347, allocations: 0 / 1.403 GB, free: 6.996 MB / 1.092 GB Notification: Performance of Templates: time 0.04619/1.394, allocations: 27.2 MB / 1.43 GB, free: 11.98 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.956183480098844]