Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dvdp|dvdp_num|dvdT|dvdT_num",fileNamePrefix="Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT") translateModel(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dvdp|dvdp_num|dvdT|dvdT_num",fileNamePrefix="Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 101.8 kB / 16.41 MB, free: 6.465 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.001591/0.001591, allocations: 189.7 kB / 17.34 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 14.94 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.403/2.403, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 59.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.761/0.7624, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.002477/0.7649, allocations: 1.264 MB / 1.169 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.7662, allocations: 0.821 MB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.7663, allocations: 4 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.7663, allocations: 0 / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.402e-05/0.7664, allocations: 3.938 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000637/0.767, allocations: 159.4 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.402e-05/0.7671, allocations: 43.84 kB / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.7672, allocations: 19.86 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.7672, allocations: 8 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.652e-05/0.7673, allocations: 23.91 kB / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.7673, allocations: 0 / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004338/0.7678, allocations: 211.8 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.7678, allocations: 11.92 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.7678, allocations: 15.92 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.7681, allocations: 136.1 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7681, allocations: 0 / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.684e-06/0.7681, allocations: 4 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.7681, allocations: 0 / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00059/0.7687, allocations: 383 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.7688, allocations: 8.031 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.7689, allocations: 4.938 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.769, allocations: 176.2 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.7691, allocations: 384 / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.7691, allocations: 12.36 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.7693, allocations: 73.67 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.7693, allocations: 192 / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.7693, allocations: 11.94 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.7693, allocations: 0 / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.405e-05/0.7694, allocations: 27.92 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003005/0.7725, allocations: 2.099 MB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.085e-05/0.7726, allocations: 165.1 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.442e-05/0.7726, allocations: 84.12 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.198e-05/0.7727, allocations: 79.28 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.7727, allocations: 109.8 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.7727, allocations: 0 / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 9.425e-05/0.7728, allocations: 29.7 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.7729, allocations: 130.7 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.7731, allocations: 137.7 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.7731, allocations: 29.7 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.7732, allocations: 99.94 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.279e-06/0.7732, allocations: 4 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/0.7732, allocations: 25.66 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.7734, allocations: 318.8 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.741e-05/0.7734, allocations: 11.98 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.152e-05/0.7735, allocations: 35.38 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.756e-05/0.7735, allocations: 39.42 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7735, allocations: 3.938 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001974/0.7738, allocations: 69.62 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.7738, allocations: 8.062 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.7738, allocations: 8 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.7738, allocations: 0 / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.098e-05/0.7739, allocations: 11.98 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.7739, allocations: 4 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.492e-05/0.774, allocations: 3.953 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.774, allocations: 7.938 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0001077/0.7741, allocations: 189.1 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.846e-05/0.7742, allocations: 105 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/0.7743, allocations: 120.5 kB / 1.174 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.769e-05/0.7743, allocations: 180.2 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.127e-05/0.7744, allocations: 176.3 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.495e-05/0.7745, allocations: 180.2 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.7747, allocations: 421.1 kB / 1.175 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.552e-05/0.7747, allocations: 105 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.7748, allocations: 109 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.515e-05/0.7748, allocations: 180.4 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.83e-05/0.7749, allocations: 188.2 kB / 1.176 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.784e-05/0.775, allocations: 180.3 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.393e-05/0.775, allocations: 184.2 kB / 1.176 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.7752, allocations: 311.7 kB / 1.176 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.7753, allocations: 190 kB / 1.177 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.339e-05/0.7753, allocations: 180.2 kB / 1.177 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.089e-05/0.7754, allocations: 105 kB / 1.177 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.7755, allocations: 184.2 kB / 1.177 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.7756, allocations: 104.9 kB / 1.177 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.131e-05/0.7756, allocations: 111.2 kB / 1.177 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7756, allocations: 0 / 1.177 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003203/0.776, allocations: 55.73 kB / 1.177 GB, free: 8.699 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002985/0.7763, allocations: 245.2 kB / 1.178 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.253e-05/0.7764, allocations: 19.94 kB / 1.178 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7764, allocations: 0 / 1.178 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.7764, allocations: 0 / 1.178 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.7768, allocations: 474.1 kB / 1.178 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.7771, allocations: 228 kB / 1.178 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.7774, allocations: 0.6768 MB / 1.179 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.7774, allocations: 15.44 kB / 1.179 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.7774, allocations: 0 / 1.179 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of Templates: time 0.003414/0.7808, allocations: 1.442 MB / 1.18 GB, free: 5.559 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.makefile (rm -f Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe >> ../files/Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.sim & ./Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches