Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.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 12.0.0-master/package.mo", uses=false) 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.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.refCyc.sigBus.TConInMea|chi.refCyc.sigBus.TConOutMea|chi.refCyc.sigBus.TEvaInMea|chi.refCyc.sigBus.TEvaOutMea|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.EER",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D") translateModel(Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.refCyc.sigBus.TConInMea|chi.refCyc.sigBus.TConOutMea|chi.refCyc.sigBus.TEvaInMea|chi.refCyc.sigBus.TEvaOutMea|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.EER",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 112.8 kB / 16.42 MB, free: 6.031 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.001738/0.001738, allocations: 187.3 kB / 17.35 MB, free: 5.602 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.465/1.465, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.777/2.777, allocations: 472.7 MB / 0.746 GB, free: 400 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 1.07 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8921/0.894, allocations: 159.9 MB / 1.227 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D): time 0.09136/0.9854, allocations: 82.31 MB / 1.307 GB, free: 10.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.029/1.014, allocations: 18.45 MB / 1.325 GB, free: 8.301 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004353/1.019, allocations: 95.5 kB / 1.325 GB, free: 8.207 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003849/1.023, allocations: 1.324 MB / 1.326 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.009267/1.032, allocations: 2.994 MB / 1.329 GB, free: 3.871 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006011/1.038, allocations: 2.097 MB / 1.331 GB, free: 1.793 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.009071/1.047, allocations: 5.523 MB / 1.337 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004614/1.052, allocations: 2.525 MB / 1.339 GB, free: 9.672 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006086/1.058, allocations: 2.191 MB / 1.341 GB, free: 7.477 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003607/1.062, allocations: 1.696 MB / 1.343 GB, free: 5.773 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001028/1.063, allocations: 296 kB / 1.343 GB, free: 5.484 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005482/1.068, allocations: 1.973 MB / 1.345 GB, free: 3.508 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001204/1.069, allocations: 0.7203 MB / 1.346 GB, free: 2.785 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002215/1.072, allocations: 1.446 MB / 1.347 GB, free: 1.332 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00849/1.08, allocations: 5.014 MB / 1.352 GB, free: 12.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.08, allocations: 0 / 1.352 GB, free: 12.3 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.613e-06/1.08, allocations: 0 / 1.352 GB, free: 12.3 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001228/1.08, allocations: 0 / 1.352 GB, free: 12.3 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 411 * Number of variables: 411 Notification: Performance of Generate backend data structure: time 0.006379/1.087, allocations: 3.233 MB / 1.355 GB, free: 8.977 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.087, allocations: 12.03 kB / 1.355 GB, free: 8.965 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/1.088, allocations: 374 kB / 1.356 GB, free: 8.598 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004821/1.093, allocations: 2.503 MB / 1.358 GB, free: 6.047 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/1.093, allocations: 135.2 kB / 1.358 GB, free: 5.914 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002674/1.093, allocations: 176 kB / 1.358 GB, free: 5.742 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/1.097, allocations: 1.723 MB / 1.36 GB, free: 3.953 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/1.097, allocations: 7.938 kB / 1.36 GB, free: 3.945 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/1.097, allocations: 68 kB / 1.36 GB, free: 3.879 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/1.097, allocations: 48 kB / 1.36 GB, free: 3.832 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/1.099, allocations: 1.254 MB / 1.361 GB, free: 2.574 MB / 1.076 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.01014/1.11, allocations: 7.417 MB / 1.369 GB, free: 10.78 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/1.111, allocations: 0.6485 MB / 1.369 GB, free: 10.12 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008603/1.112, allocations: 356.4 kB / 1.37 GB, free: 9.773 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/1.113, allocations: 1.16 MB / 1.371 GB, free: 8.355 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/1.113, allocations: 43.06 kB / 1.371 GB, free: 8.305 MB / 1.092 GB Notification: Performance of pre-optimization done (n=57): time 2.825e-06/1.113, allocations: 0 / 1.371 GB, free: 8.305 MB / 1.092 GB Notification: Performance of matching and sorting (n=57): time 0.002926/1.116, allocations: 1.04 MB / 1.372 GB, free: 7.262 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/1.116, allocations: 107.4 kB / 1.372 GB, free: 7.133 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003249/1.12, allocations: 2.02 MB / 1.374 GB, free: 5.082 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/1.12, allocations: 45.7 kB / 1.374 GB, free: 5.031 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001301/1.121, allocations: 1.107 MB / 1.375 GB, free: 3.914 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/1.121, allocations: 214.3 kB / 1.375 GB, free: 3.703 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003141/1.122, allocations: 194.5 kB / 1.375 GB, free: 3.508 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.122, allocations: 341.9 kB / 1.376 GB, free: 3.168 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008399/1.123, allocations: 324.7 kB / 1.376 GB, free: 2.848 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/1.124, allocations: 0.6591 MB / 1.377 GB, free: 2.047 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/1.126, allocations: 0.8965 MB / 1.378 GB, free: 1.039 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.126, allocations: 4 kB / 1.378 GB, free: 1.035 MB / 1.092 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002775/1.129, allocations: 1.124 MB / 1.379 GB, free: 15.9 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/1.129, allocations: 8 kB / 1.379 GB, free: 15.89 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/1.129, allocations: 8 kB / 1.379 GB, free: 15.89 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/1.129, allocations: 12 kB / 1.379 GB, free: 15.88 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007972/1.13, allocations: 212.2 kB / 1.379 GB, free: 15.67 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.864e-05/1.13, allocations: 19.92 kB / 1.379 GB, free: 15.65 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/1.131, allocations: 171 kB / 1.379 GB, free: 15.48 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/1.131, allocations: 43.98 kB / 1.379 GB, free: 15.44 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001722/1.133, allocations: 0.7596 MB / 1.38 GB, free: 14.67 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001142/1.134, allocations: 0.6514 MB / 1.381 GB, free: 13.88 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001749/1.136, allocations: 0.9003 MB / 1.381 GB, free: 12.88 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.113e-06/1.136, allocations: 4 kB / 1.381 GB, free: 12.87 MB / 1.107 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.002825/1.139, allocations: 1.109 MB / 1.382 GB, free: 11.75 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.139, allocations: 8 kB / 1.382 GB, free: 11.75 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/1.139, allocations: 8 kB / 1.382 GB, free: 11.74 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/1.139, allocations: 15.98 kB / 1.383 GB, free: 11.72 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/1.139, allocations: 211.6 kB / 1.383 GB, free: 11.52 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/1.14, allocations: 15.94 kB / 1.383 GB, free: 11.5 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.141, allocations: 135.6 kB / 1.383 GB, free: 11.37 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.703e-05/1.141, allocations: 36 kB / 1.383 GB, free: 11.33 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 9 (chi.eff.swiCoo.u2,chi.eff.swiHea.u2,chi.eff.hea,chi.notCoo.y,chi.conCoo.y,chi.eff.hys.y,$PRE.chi.eff.hys.y,chi.hys.y,$PRE.chi.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * 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.0003093/1.141, allocations: 251.9 kB / 1.383 GB, free: 11.08 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003734/1.142, allocations: 218.6 kB / 1.383 GB, free: 10.86 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/1.144, allocations: 1.005 MB / 1.384 GB, free: 9.844 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001573/1.146, allocations: 0.7477 MB / 1.385 GB, free: 9.066 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/1.146, allocations: 4 kB / 1.385 GB, free: 9.062 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007368/1.147, allocations: 379.4 kB / 1.385 GB, free: 8.672 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002782/1.147, allocations: 23.88 kB / 1.385 GB, free: 8.648 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008234/1.148, allocations: 59.94 kB / 1.385 GB, free: 8.59 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/1.148, allocations: 56.42 kB / 1.386 GB, free: 8.535 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002179/1.15, allocations: 0.8617 MB / 1.386 GB, free: 7.668 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003053/1.153, allocations: 1.472 MB / 1.388 GB, free: 6.176 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008037/1.154, allocations: 368.2 kB / 1.388 GB, free: 5.816 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002289/1.156, allocations: 1.387 MB / 1.39 GB, free: 4.414 MB / 1.107 GB Notification: Performance of Backend: time 3.1e-07/1.156, allocations: 0 / 1.39 GB, free: 4.414 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006023/1.162, allocations: 1.919 MB / 1.391 GB, free: 2.672 MB / 1.107 GB Notification: Performance of SimCode: time 0.008798/1.171, allocations: 4.589 MB / 1.396 GB, free: 14.03 MB / 1.123 GB Notification: Performance of Templates: time 0.07761/1.249, allocations: 41.52 MB / 1.436 GB, free: 4.934 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.sim & ./Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_ModularReversible_Validation_TableData2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches