Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 105.1 kB / 16.41 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 189.7 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.646/2.646, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 64.12 kB / 1.055 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.94/0.9415, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.08187/1.023, allocations: 75.2 MB / 1.282 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02457/1.048, allocations: 12.76 MB / 1.294 GB, free: 5.309 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003695/1.052, allocations: 63.62 kB / 1.294 GB, free: 5.246 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00358/1.055, allocations: 0.8384 MB / 1.295 GB, free: 4.402 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008497/1.064, allocations: 2.457 MB / 1.298 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004095/1.068, allocations: 1.4 MB / 1.299 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00702/1.075, allocations: 4.377 MB / 1.303 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002724/1.078, allocations: 1.445 MB / 1.305 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004327/1.082, allocations: 1.666 MB / 1.306 GB, free: 9.012 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/1.085, allocations: 1.182 MB / 1.307 GB, free: 7.824 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0006151/1.086, allocations: 164 kB / 1.308 GB, free: 7.664 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003882/1.09, allocations: 1.431 MB / 1.309 GB, free: 6.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007252/1.09, allocations: 394.6 kB / 1.309 GB, free: 5.844 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00199/1.092, allocations: 0.906 MB / 1.31 GB, free: 4.934 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00612/1.098, allocations: 2.869 MB / 1.313 GB, free: 2.059 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.098, allocations: 8 kB / 1.313 GB, free: 2.051 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.514e-06/1.099, allocations: 0 / 1.313 GB, free: 2.051 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.949e-05/1.099, allocations: 0 / 1.313 GB, free: 2.051 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004653/1.103, allocations: 2.085 MB / 1.315 GB, free: 15.9 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.103, allocations: 12.03 kB / 1.315 GB, free: 15.89 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009933/1.104, allocations: 226.8 kB / 1.315 GB, free: 15.66 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002851/1.107, allocations: 1.524 MB / 1.317 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.115e-05/1.107, allocations: 78 kB / 1.317 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/1.107, allocations: 100 kB / 1.317 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/1.109, allocations: 1.1 MB / 1.318 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/1.11, allocations: 0 / 1.318 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.615e-05/1.11, allocations: 44 kB / 1.318 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.631e-05/1.11, allocations: 28 kB / 1.318 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/1.112, allocations: 0.8822 MB / 1.319 GB, free: 11.82 MB / 1.045 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.006226/1.118, allocations: 4.915 MB / 1.324 GB, free: 6.625 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/1.119, allocations: 0.6271 MB / 1.324 GB, free: 5.992 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000728/1.12, allocations: 355.5 kB / 1.325 GB, free: 5.641 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006471/1.121, allocations: 0.8277 MB / 1.326 GB, free: 4.629 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/1.121, allocations: 39.12 kB / 1.326 GB, free: 4.582 MB / 1.045 GB Notification: Performance of pre-optimization done (n=62): time 2.635e-06/1.121, allocations: 3.938 kB / 1.326 GB, free: 4.578 MB / 1.045 GB Notification: Performance of matching and sorting (n=62): time 0.007546/1.128, allocations: 1.701 MB / 1.327 GB, free: 2.852 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/1.128, allocations: 55.97 kB / 1.327 GB, free: 2.785 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/1.13, allocations: 1.225 MB / 1.329 GB, free: 1.543 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001353/1.131, allocations: 41.7 kB / 1.329 GB, free: 1.496 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005979/1.131, allocations: 0.5988 MB / 1.329 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/1.131, allocations: 212.8 kB / 1.329 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/1.132, allocations: 154.6 kB / 1.329 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.132, allocations: 337.9 kB / 1.33 GB, free: 192 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007432/1.133, allocations: 288.8 kB / 1.33 GB, free: 15.9 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009134/1.134, allocations: 494.8 kB / 1.331 GB, free: 15.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/1.135, allocations: 0.7004 MB / 1.331 GB, free: 14.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/1.135, allocations: 8 kB / 1.331 GB, free: 14.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00515/1.14, allocations: 1.277 MB / 1.333 GB, free: 13.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/1.14, allocations: 13.5 kB / 1.333 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.14, allocations: 4 kB / 1.333 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007582/1.141, allocations: 169 kB / 1.333 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006269/1.142, allocations: 151.8 kB / 1.333 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009261/1.143, allocations: 0.7162 MB / 1.334 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.144, allocations: 126.9 kB / 1.334 GB, free: 12.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.822e-05/1.144, allocations: 40.05 kB / 1.334 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001214/1.145, allocations: 0.5488 MB / 1.334 GB, free: 11.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008697/1.146, allocations: 487 kB / 1.335 GB, free: 10.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001454/1.148, allocations: 0.7003 MB / 1.335 GB, free: 10.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/1.148, allocations: 4 kB / 1.335 GB, free: 10.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005064/1.153, allocations: 1.277 MB / 1.337 GB, free: 8.918 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.153, allocations: 8 kB / 1.337 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.153, allocations: 4 kB / 1.337 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/1.153, allocations: 157.1 kB / 1.337 GB, free: 8.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/1.154, allocations: 151.8 kB / 1.337 GB, free: 8.602 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008767/1.155, allocations: 0.7278 MB / 1.338 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.156, allocations: 91.52 kB / 1.338 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-05/1.156, allocations: 32 kB / 1.338 GB, free: 7.727 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000294/1.157, allocations: 228.1 kB / 1.338 GB, free: 7.496 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/1.157, allocations: 134.3 kB / 1.338 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005003/1.162, allocations: 1.283 MB / 1.339 GB, free: 6.062 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/1.162, allocations: 4 kB / 1.339 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.162, allocations: 0 / 1.339 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004314/1.166, allocations: 1.115 MB / 1.34 GB, free: 4.914 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007379/1.174, allocations: 2.629 MB / 1.343 GB, free: 2.172 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/1.174, allocations: 4 kB / 1.343 GB, free: 2.168 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005043/1.174, allocations: 115.8 kB / 1.343 GB, free: 2.055 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000641/1.175, allocations: 153 kB / 1.343 GB, free: 1.902 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/1.175, allocations: 23.98 kB / 1.343 GB, free: 1.879 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008501/1.176, allocations: 0.7085 MB / 1.344 GB, free: 1.145 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.176, allocations: 4 kB / 1.344 GB, free: 1.141 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005648/1.182, allocations: 1.703 MB / 1.346 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007443/1.182, allocations: 303.2 kB / 1.346 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000362/1.183, allocations: 19.98 kB / 1.346 GB, free: 15.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/1.184, allocations: 55.88 kB / 1.346 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/1.184, allocations: 60.31 kB / 1.346 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.514e-05/1.184, allocations: 31.98 kB / 1.346 GB, free: 14.88 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00156/1.186, allocations: 0.8816 MB / 1.347 GB, free: 14 MB / 1.076 GB Notification: Performance of sort global known variables: time 3e-07/1.186, allocations: 0 / 1.347 GB, free: 14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002294/1.188, allocations: 0.7096 MB / 1.348 GB, free: 13.29 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001093/1.189, allocations: 472.1 kB / 1.348 GB, free: 12.83 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002847/1.192, allocations: 1.121 MB / 1.349 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.192, allocations: 0 / 1.349 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009735/1.193, allocations: 398.3 kB / 1.35 GB, free: 11.33 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004066/1.197, allocations: 0.8081 MB / 1.35 GB, free: 10.54 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/1.201, allocations: 2.293 MB / 1.353 GB, free: 8.156 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008639/1.202, allocations: 1.16 MB / 1.354 GB, free: 6.965 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/1.203, allocations: 111.4 kB / 1.354 GB, free: 6.859 MB / 1.076 GB Notification: Performance of SimCode: time 7.02e-07/1.203, allocations: 0 / 1.354 GB, free: 6.859 MB / 1.076 GB Notification: Performance of Templates: time 0.04346/1.246, allocations: 31.23 MB / 1.384 GB, free: 7.809 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches