Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001436/0.001436, allocations: 111.6 kB / 16.42 MB, free: 6.457 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.001458/0.001458, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.001501, allocations: 63.89 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9984/0.9999, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.08556/1.085, allocations: 75.19 MB / 1.162 GB, free: 15.56 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02128/1.107, allocations: 12.76 MB / 1.175 GB, free: 6.371 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003572/1.11, allocations: 66.62 kB / 1.175 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003032/1.113, allocations: 0.8571 MB / 1.175 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009179/1.123, allocations: 2.589 MB / 1.178 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004294/1.127, allocations: 1.392 MB / 1.179 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007529/1.135, allocations: 4.407 MB / 1.184 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002682/1.137, allocations: 1.433 MB / 1.185 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005056/1.142, allocations: 1.666 MB / 1.187 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/1.145, allocations: 1.199 MB / 1.188 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003748/1.146, allocations: 162.5 kB / 1.188 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00427/1.15, allocations: 1.424 MB / 1.189 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004974/1.15, allocations: 401.6 kB / 1.19 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001503/1.152, allocations: 0.9076 MB / 1.191 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005702/1.158, allocations: 2.87 MB / 1.193 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/1.158, allocations: 0 / 1.193 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/1.158, allocations: 1.5 kB / 1.193 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.71e-05/1.158, allocations: 0 / 1.193 GB, free: 10.55 MB / 0.9356 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.005141/1.163, allocations: 2.089 MB / 1.195 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.163, allocations: 8.469 kB / 1.195 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/1.164, allocations: 226.5 kB / 1.196 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003006/1.167, allocations: 1.527 MB / 1.197 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.405e-05/1.167, allocations: 76.22 kB / 1.197 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/1.167, allocations: 100.7 kB / 1.197 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/1.17, allocations: 1.101 MB / 1.198 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/1.17, allocations: 3.938 kB / 1.198 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/1.17, allocations: 41.44 kB / 1.198 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/1.17, allocations: 24.56 kB / 1.198 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/1.172, allocations: 0.8918 MB / 1.199 GB, free: 6.414 MB / 0.9356 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.007263/1.179, allocations: 4.922 MB / 1.204 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/1.181, allocations: 0.6288 MB / 1.205 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008297/1.182, allocations: 354 kB / 1.205 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006986/1.182, allocations: 0.8284 MB / 1.206 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/1.182, allocations: 42.62 kB / 1.206 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 2.705e-06/1.182, allocations: 0 / 1.206 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.008186/1.191, allocations: 1.699 MB / 1.208 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/1.191, allocations: 58.12 kB / 1.208 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/1.193, allocations: 1.221 MB / 1.209 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/1.193, allocations: 46.39 kB / 1.209 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006623/1.194, allocations: 0.5991 MB / 1.21 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/1.194, allocations: 223.9 kB / 1.21 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003096/1.194, allocations: 152.1 kB / 1.21 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.195, allocations: 332.1 kB / 1.21 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007714/1.195, allocations: 293.1 kB / 1.21 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/1.196, allocations: 490.3 kB / 1.211 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/1.198, allocations: 0.705 MB / 1.212 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.198, allocations: 1.125 kB / 1.212 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005368/1.203, allocations: 1.279 MB / 1.213 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/1.203, allocations: 6.875 kB / 1.213 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.203, allocations: 8.062 kB / 1.213 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000853/1.204, allocations: 156.9 kB / 1.213 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/1.205, allocations: 164.6 kB / 1.213 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/1.206, allocations: 0.7168 MB / 1.214 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/1.208, allocations: 112.2 kB / 1.214 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.208, allocations: 35.48 kB / 1.214 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001482/1.209, allocations: 0.5564 MB / 1.215 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009481/1.21, allocations: 481.5 kB / 1.215 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001593/1.212, allocations: 0.706 MB / 1.216 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/1.212, allocations: 1 kB / 1.216 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00532/1.217, allocations: 1.274 MB / 1.217 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.217, allocations: 8 kB / 1.217 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.217, allocations: 4 kB / 1.217 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006511/1.218, allocations: 156.9 kB / 1.217 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005982/1.218, allocations: 155.8 kB / 1.217 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008574/1.219, allocations: 0.7123 MB / 1.218 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/1.221, allocations: 103.4 kB / 1.218 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-05/1.221, allocations: 31.98 kB / 1.218 GB, free: 8.32 MB / 0.9512 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.0003162/1.221, allocations: 224.1 kB / 1.218 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/1.221, allocations: 134.3 kB / 1.218 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004964/1.226, allocations: 1.287 MB / 1.22 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004339/1.231, allocations: 1.111 MB / 1.221 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.231, allocations: 0 / 1.221 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009494/1.232, allocations: 299.2 kB / 1.221 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/1.232, allocations: 19.98 kB / 1.221 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007743/1.233, allocations: 47.94 kB / 1.221 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/1.233, allocations: 44.5 kB / 1.221 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002847/1.236, allocations: 0.9832 MB / 1.222 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002569/1.238, allocations: 1.355 MB / 1.223 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000693/1.239, allocations: 332.3 kB / 1.224 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001245/1.24, allocations: 0.8575 MB / 1.225 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of Backend: time 5.21e-07/1.24, allocations: 0 / 1.225 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004178/1.244, allocations: 1.393 MB / 1.226 GB, free: 164 kB / 0.9512 GB Notification: Performance of SimCode: time 0.006116/1.251, allocations: 3.129 MB / 1.229 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of Templates: time 0.05975/1.31, allocations: 33.88 MB / 1.262 GB, free: 11.46 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches