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.007204/0.007204, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001582/0.001583, allocations: 193 kB / 16.67 MB, free: 5.969 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.667/2.667, allocations: 472.6 MB / 0.7453 GB, free: 500 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.89 kB / 1.069 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9298/0.9312, allocations: 159.9 MB / 1.226 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.002603/0.9339, allocations: 1.268 MB / 1.227 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.9353, allocations: 0.8139 MB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.9353, allocations: 0 / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.9353, allocations: 3.938 kB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.787e-05/0.9354, allocations: 11.92 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006807/0.9361, allocations: 155.4 kB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.412e-05/0.9362, allocations: 47.78 kB / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.9363, allocations: 0 / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.745e-05/0.9363, allocations: 19.97 kB / 1.228 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.38e-05/0.9364, allocations: 31.86 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.9365, allocations: 0 / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004828/0.9369, allocations: 207.8 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.937, allocations: 3.984 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.937, allocations: 23.86 kB / 1.228 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.9373, allocations: 140.1 kB / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.9373, allocations: 0 / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9373, allocations: 0 / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.9373, allocations: 0 / 1.228 GB, free: 10.86 MB / 0.9512 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.0005046/0.9378, allocations: 381.8 kB / 1.229 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.9379, allocations: 12.03 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.9379, allocations: 4.875 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.9381, allocations: 172.3 kB / 1.229 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.9381, allocations: 8.359 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.9381, allocations: 4.375 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.9383, allocations: 77.67 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.9383, allocations: 4.125 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.9383, allocations: 3.938 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.9383, allocations: 4 kB / 1.229 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.229e-05/0.9384, allocations: 23.98 kB / 1.229 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002655/0.9411, allocations: 2.099 MB / 1.231 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.656e-05/0.9412, allocations: 169.1 kB / 1.231 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.9412, allocations: 84.08 kB / 1.231 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.9412, allocations: 79.22 kB / 1.231 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.9413, allocations: 109.8 kB / 1.231 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.9413, allocations: 0 / 1.231 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.889e-05/0.9414, allocations: 34.88 kB / 1.231 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.9415, allocations: 130.7 kB / 1.231 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.9416, allocations: 133.6 kB / 1.232 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.9417, allocations: 25.7 kB / 1.232 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.9417, allocations: 111.9 kB / 1.232 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-06/0.9417, allocations: 0 / 1.232 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.9418, allocations: 29.7 kB / 1.232 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.9419, allocations: 318.7 kB / 1.232 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/0.942, allocations: 8 kB / 1.232 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.251e-05/0.942, allocations: 43.36 kB / 1.232 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.512e-05/0.9421, allocations: 39.38 kB / 1.232 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9421, allocations: 0 / 1.232 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000178/0.9423, allocations: 73.61 kB / 1.232 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.9423, allocations: 4 kB / 1.232 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.9423, allocations: 0 / 1.232 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.9423, allocations: 4 kB / 1.232 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.9424, allocations: 8 kB / 1.232 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.9424, allocations: 4.125 kB / 1.232 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.9425, allocations: 11.89 kB / 1.232 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.9425, allocations: 11.92 kB / 1.232 GB, free: 6.109 MB / 0.9512 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 9.815e-05/0.9426, allocations: 185.7 kB / 1.232 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.9427, allocations: 105 kB / 1.233 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/0.9428, allocations: 108.5 kB / 1.233 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.15e-05/0.9428, allocations: 184.3 kB / 1.233 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-05/0.9429, allocations: 180.2 kB / 1.233 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.843e-05/0.943, allocations: 184.2 kB / 1.233 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.9432, allocations: 417.1 kB / 1.234 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.152e-05/0.9432, allocations: 104.9 kB / 1.234 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.9433, allocations: 101 kB / 1.234 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-05/0.9433, allocations: 180.4 kB / 1.234 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.668e-05/0.9434, allocations: 192.2 kB / 1.234 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.315e-05/0.9435, allocations: 184.3 kB / 1.234 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-05/0.9435, allocations: 184.2 kB / 1.234 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.9437, allocations: 307.7 kB / 1.235 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-05/0.9438, allocations: 194 kB / 1.235 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-05/0.9439, allocations: 176.3 kB / 1.235 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.944, allocations: 104.9 kB / 1.235 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.944, allocations: 180.3 kB / 1.235 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.9441, allocations: 105 kB / 1.236 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.902e-05/0.9442, allocations: 119.1 kB / 1.236 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9442, allocations: 0 / 1.236 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003149/0.9445, allocations: 51.75 kB / 1.236 GB, free: 2.41 MB / 0.9512 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.0003073/0.9448, allocations: 238.3 kB / 1.236 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.9449, allocations: 19.98 kB / 1.236 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.9449, allocations: 4 kB / 1.236 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/0.9449, allocations: 3.938 kB / 1.236 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.9454, allocations: 456.6 kB / 1.236 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.9457, allocations: 222.5 kB / 1.237 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.9459, allocations: 0.6807 MB / 1.237 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.946, allocations: 11.97 kB / 1.237 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.946, allocations: 15.38 kB / 1.237 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of SimCode: time 4.3e-07/0.946, allocations: 0 / 1.237 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of Templates: time 0.003934/0.95, allocations: 1.431 MB / 1.239 GB, free: 15.29 MB / 0.9669 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