Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dvdp|dvdp_num|dvdT|dvdT_num",fileNamePrefix="Buildings_latest_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_latest_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.001561/0.001561, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 197 kB / 16.53 MB, free: 6.664 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.814/2.814, allocations: 472.6 MB / 0.7451 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 64.91 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3505, allocations: 159.9 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.002416/0.3529, allocations: 1.265 MB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3542, allocations: 0.8239 MB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.3543, allocations: 4 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.3543, allocations: 3.938 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.598e-05/0.3544, allocations: 3.938 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005747/0.355, allocations: 162.9 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.081e-05/0.355, allocations: 47.78 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.3551, allocations: 4 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.891e-05/0.3551, allocations: 15.92 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.981e-05/0.3552, allocations: 23.92 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.3552, allocations: 4 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000477/0.3557, allocations: 203.8 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.3558, allocations: 7.984 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.45e-05/0.3558, allocations: 23.86 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.3561, allocations: 132 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3561, allocations: 0 / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3561, allocations: 0 / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.3561, allocations: 0 / 1.071 GB, free: 7.766 MB / 0.8262 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.0004513/0.3565, allocations: 375.3 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3566, allocations: 16.03 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.3566, allocations: 0.9375 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.3568, allocations: 172.3 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3568, allocations: 4.312 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.3568, allocations: 4.375 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.3569, allocations: 77.61 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.357, allocations: 192 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.357, allocations: 7.938 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.357, allocations: 7.938 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.61e-05/0.3571, allocations: 27.92 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.3601, allocations: 2.095 MB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.771e-05/0.3602, allocations: 173.1 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.3603, allocations: 84.12 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.3603, allocations: 75.28 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/0.3604, allocations: 105.8 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.703e-06/0.3604, allocations: 4 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.35e-05/0.3605, allocations: 33.64 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.3605, allocations: 126.7 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.3607, allocations: 137.6 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.3607, allocations: 25.7 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.3608, allocations: 107.8 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-06/0.3608, allocations: 0 / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.3608, allocations: 25.62 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3609, allocations: 326.8 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.887e-05/0.361, allocations: 8 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.361, allocations: 35.44 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.415e-05/0.3611, allocations: 43.36 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3611, allocations: 0 / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001735/0.3613, allocations: 65.62 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3613, allocations: 4 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3613, allocations: 3.938 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3613, allocations: 4 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/0.3614, allocations: 11.98 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3614, allocations: 4 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.3615, allocations: 15.97 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3615, allocations: 7.938 kB / 1.075 GB, free: 3.02 MB / 0.8262 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 8.939e-05/0.3616, allocations: 181.1 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.3617, allocations: 108.9 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.077e-05/0.3617, allocations: 116.3 kB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.94e-05/0.3618, allocations: 180.3 kB / 1.075 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-05/0.3619, allocations: 184.2 kB / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.315e-05/0.3619, allocations: 180.2 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.3622, allocations: 425.2 kB / 1.076 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-05/0.3622, allocations: 105 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.3622, allocations: 105 kB / 1.076 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.592e-05/0.3623, allocations: 188.1 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/0.3624, allocations: 184.3 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-05/0.3624, allocations: 180.2 kB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.291e-05/0.3625, allocations: 176.3 kB / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.3626, allocations: 311.7 kB / 1.077 GB, free: 284 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-05/0.3627, allocations: 190 kB / 1.078 GB, free: 68 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.16e-05/0.3628, allocations: 184.2 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.09e-05/0.3629, allocations: 105 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.188e-05/0.363, allocations: 184.2 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.363, allocations: 101 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.326e-05/0.3631, allocations: 107.2 kB / 1.078 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3631, allocations: 4 kB / 1.078 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003135/0.3634, allocations: 55.92 kB / 1.078 GB, free: 15.31 MB / 0.8419 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.0003315/0.3638, allocations: 234.9 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.3639, allocations: 20.12 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3639, allocations: 8.062 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.3639, allocations: 0 / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.3644, allocations: 463.8 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.3647, allocations: 214.4 kB / 1.079 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.365, allocations: 0.6768 MB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.214e-05/0.365, allocations: 7.984 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.3651, allocations: 15.38 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of SimCode: time 2.01e-07/0.3651, allocations: 0 / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of Templates: time 0.0043/0.3694, allocations: 1.443 MB / 1.081 GB, free: 12.19 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.makefile (rm -f Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.sim & ./Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches