Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.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.HeatPumps.ModularReversible.Validation.Comparative.TableData2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.refCyc.sigBus.TConInMea|heaPum.refCyc.sigBus.TConOutMea|heaPum.refCyc.sigBus.TEvaInMea|heaPum.refCyc.sigBus.TEvaOutMea|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.refCyc.sigBus.TConInMea|heaPum.refCyc.sigBus.TConOutMea|heaPum.refCyc.sigBus.TEvaInMea|heaPum.refCyc.sigBus.TEvaOutMea|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 112.2 kB / 16.42 MB, free: 6.426 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.001307/0.001307, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.442/1.442, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.773/2.773, allocations: 472.7 MB / 0.746 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.91 kB / 1.07 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7002/0.7021, allocations: 159.9 MB / 1.226 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D): time 0.09227/0.7944, allocations: 81.09 MB / 1.306 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0282/0.8227, allocations: 18.44 MB / 1.324 GB, free: 9.602 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/0.8263, allocations: 99.44 kB / 1.324 GB, free: 9.504 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003528/0.8299, allocations: 1.332 MB / 1.325 GB, free: 8.168 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007853/0.8378, allocations: 2.99 MB / 1.328 GB, free: 5.168 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005246/0.8431, allocations: 2.093 MB / 1.33 GB, free: 3.094 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007843/0.8509, allocations: 5.516 MB / 1.335 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004165/0.8551, allocations: 2.533 MB / 1.338 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004876/0.86, allocations: 2.185 MB / 1.34 GB, free: 8.781 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/0.8629, allocations: 1.696 MB / 1.342 GB, free: 7.078 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005637/0.8635, allocations: 292 kB / 1.342 GB, free: 6.793 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004259/0.8677, allocations: 1.969 MB / 1.344 GB, free: 4.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00087/0.8686, allocations: 0.7165 MB / 1.345 GB, free: 4.102 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001843/0.8705, allocations: 1.435 MB / 1.346 GB, free: 2.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007526/0.878, allocations: 5.049 MB / 1.351 GB, free: 13.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.878, allocations: 0 / 1.351 GB, free: 13.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8781, allocations: 0 / 1.351 GB, free: 13.59 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.095e-05/0.8781, allocations: 0 / 1.351 GB, free: 13.59 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.006031/0.8842, allocations: 3.233 MB / 1.354 GB, free: 10.27 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.8842, allocations: 8.031 kB / 1.354 GB, free: 10.26 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.8853, allocations: 374 kB / 1.354 GB, free: 9.895 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004379/0.8897, allocations: 2.515 MB / 1.357 GB, free: 7.332 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.8899, allocations: 131.2 kB / 1.357 GB, free: 7.203 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/0.8901, allocations: 167.9 kB / 1.357 GB, free: 7.039 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003459/0.8936, allocations: 1.723 MB / 1.359 GB, free: 5.25 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.772e-05/0.8936, allocations: 7.891 kB / 1.359 GB, free: 5.242 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.8938, allocations: 68 kB / 1.359 GB, free: 5.176 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-05/0.8938, allocations: 40 kB / 1.359 GB, free: 5.137 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002853/0.8967, allocations: 1.257 MB / 1.36 GB, free: 3.875 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.01023/0.907, allocations: 7.375 MB / 1.367 GB, free: 12.13 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.9088, allocations: 0.7416 MB / 1.368 GB, free: 11.36 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008002/0.9096, allocations: 366.3 kB / 1.368 GB, free: 11 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.9107, allocations: 1.148 MB / 1.37 GB, free: 9.59 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.9107, allocations: 43.12 kB / 1.37 GB, free: 9.539 MB / 1.092 GB Notification: Performance of pre-optimization done (n=58): time 2.805e-06/0.9107, allocations: 0 / 1.37 GB, free: 9.539 MB / 1.092 GB Notification: Performance of matching and sorting (n=58): time 0.002779/0.9135, allocations: 1.06 MB / 1.371 GB, free: 8.477 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/0.9136, allocations: 107.4 kB / 1.371 GB, free: 8.348 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/0.9165, allocations: 2.008 MB / 1.373 GB, free: 6.309 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.9166, allocations: 53.58 kB / 1.373 GB, free: 6.25 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.9178, allocations: 1.087 MB / 1.374 GB, free: 5.152 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.918, allocations: 210.2 kB / 1.374 GB, free: 4.945 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/0.9183, allocations: 198.5 kB / 1.374 GB, free: 4.746 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.9185, allocations: 337.9 kB / 1.375 GB, free: 4.41 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007946/0.9193, allocations: 324.6 kB / 1.375 GB, free: 4.09 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.9204, allocations: 0.6389 MB / 1.375 GB, free: 3.324 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.9222, allocations: 0.8659 MB / 1.376 GB, free: 2.359 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.9222, allocations: 0 / 1.376 GB, free: 2.359 MB / 1.092 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002463/0.9247, allocations: 1.102 MB / 1.377 GB, free: 1.25 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.9247, allocations: 8 kB / 1.377 GB, free: 1.242 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.9247, allocations: 8 kB / 1.377 GB, free: 1.234 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.9247, allocations: 12 kB / 1.377 GB, free: 1.223 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008076/0.9256, allocations: 207.7 kB / 1.378 GB, free: 1.02 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.63e-05/0.9256, allocations: 19.92 kB / 1.378 GB, free: 1 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.9268, allocations: 163 kB / 1.378 GB, free: 0.8398 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.654e-05/0.9269, allocations: 43.98 kB / 1.378 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001513/0.9284, allocations: 0.7596 MB / 1.379 GB, free: 32 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001124/0.9295, allocations: 0.6313 MB / 1.379 GB, free: 15.27 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001704/0.9312, allocations: 0.8542 MB / 1.38 GB, free: 14.32 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.235e-05/0.9313, allocations: 4 kB / 1.38 GB, free: 14.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.00234/0.9336, allocations: 1.093 MB / 1.381 GB, free: 13.22 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.9336, allocations: 8 kB / 1.381 GB, free: 13.21 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.9337, allocations: 8.531 kB / 1.381 GB, free: 13.2 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.9337, allocations: 12 kB / 1.381 GB, free: 13.19 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007871/0.9345, allocations: 211.6 kB / 1.381 GB, free: 12.98 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.9345, allocations: 19.98 kB / 1.381 GB, free: 12.96 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.9357, allocations: 131.5 kB / 1.381 GB, free: 12.84 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/0.9357, allocations: 43.98 kB / 1.381 GB, free: 12.79 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 5 (heaPum.conHea.y,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 102 * 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.0002925/0.936, allocations: 239.9 kB / 1.382 GB, free: 12.55 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003446/0.9364, allocations: 214.6 kB / 1.382 GB, free: 12.34 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.9388, allocations: 1.007 MB / 1.383 GB, free: 11.33 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001604/0.9404, allocations: 0.7672 MB / 1.384 GB, free: 10.54 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.9404, allocations: 0 / 1.384 GB, free: 10.54 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005906/0.941, allocations: 383.4 kB / 1.384 GB, free: 10.14 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.9412, allocations: 12 kB / 1.384 GB, free: 10.13 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007926/0.942, allocations: 59.92 kB / 1.384 GB, free: 10.07 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.9421, allocations: 56.42 kB / 1.384 GB, free: 10.02 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002146/0.9443, allocations: 0.8695 MB / 1.385 GB, free: 9.141 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002865/0.9472, allocations: 1.472 MB / 1.386 GB, free: 7.648 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007939/0.948, allocations: 364.3 kB / 1.387 GB, free: 7.293 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002079/0.9501, allocations: 1.383 MB / 1.388 GB, free: 5.895 MB / 1.107 GB Notification: Performance of Backend: time 3.5e-07/0.9501, allocations: 3.938 kB / 1.388 GB, free: 5.891 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005524/0.9556, allocations: 1.92 MB / 1.39 GB, free: 4.145 MB / 1.107 GB Notification: Performance of SimCode: time 0.008343/0.964, allocations: 4.601 MB / 1.395 GB, free: 15.5 MB / 1.123 GB Notification: Performance of Templates: time 0.07372/1.038, allocations: 42.04 MB / 1.436 GB, free: 5.902 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_ModularReversible_Validation_Comparative_TableData2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches