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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 173.2 kB / 22.76 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.6/1.6, allocations: 177.1 MB / 203.1 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.433/3.433, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|dvdp|dvdp_num|dvdT|dvdT_num",fileNamePrefix="Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.8774 GB, free: 6.742 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.279e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.002755/0.002788, allocations: 1.296 MB / 0.8787 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.004352, allocations: 0.8198 MB / 0.8795 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.004376, allocations: 0.5312 kB / 0.8795 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.004405, allocations: 5.062 kB / 0.8795 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.216e-05/0.004467, allocations: 7.875 kB / 0.8795 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.005059, allocations: 164.5 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.646e-05/0.005156, allocations: 43.78 kB / 0.8797 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.005196, allocations: 7.938 kB / 0.8797 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.533e-05/0.005261, allocations: 21.33 kB / 0.8797 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.94e-05/0.005341, allocations: 27.89 kB / 0.8797 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.005366, allocations: 0 / 0.8797 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004512/0.005818, allocations: 208.8 kB / 0.8799 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.005835, allocations: 3.938 kB / 0.8799 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.005867, allocations: 20.62 kB / 0.88 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.00619, allocations: 163.5 kB / 0.8801 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.006193, allocations: 1.188 kB / 0.8801 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.12e-07/0.006194, allocations: 0 / 0.8801 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.0062, allocations: 0 / 0.8801 GB, free: 3.984 MB / 0.8386 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.0005755/0.006775, allocations: 404.4 kB / 0.8805 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.006812, allocations: 8.906 kB / 0.8805 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.006865, allocations: 12.89 kB / 0.8805 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.006984, allocations: 112.1 kB / 0.8806 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.006995, allocations: 384 / 0.8806 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.007007, allocations: 4.375 kB / 0.8806 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.00718, allocations: 92.92 kB / 0.8807 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.007189, allocations: 192 / 0.8807 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.007202, allocations: 4.359 kB / 0.8807 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.007206, allocations: 384 / 0.8807 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.007314, allocations: 31.86 kB / 0.8808 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.009565, allocations: 1.096 MB / 0.8818 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.009744, allocations: 273.3 kB / 0.8821 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/0.009819, allocations: 130.9 kB / 0.8822 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.341e-05/0.009882, allocations: 119.2 kB / 0.8823 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.346e-05/0.009975, allocations: 156.6 kB / 0.8825 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.009976, allocations: 0 / 0.8825 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.347e-05/0.01006, allocations: 33.66 kB / 0.8825 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.01016, allocations: 174.5 kB / 0.8827 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.01037, allocations: 197.8 kB / 0.8829 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.01039, allocations: 25.7 kB / 0.8829 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.01049, allocations: 158.6 kB / 0.883 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.01049, allocations: 0 / 0.883 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.01055, allocations: 31.33 kB / 0.8831 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002597/0.01081, allocations: 0.4962 MB / 0.8836 GB, free: 240 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.574e-05/0.01084, allocations: 4 kB / 0.8836 GB, free: 236 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.095e-05/0.0109, allocations: 46.73 kB / 0.8836 GB, free: 172 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.579e-05/0.01098, allocations: 50.69 kB / 0.8836 GB, free: 104 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.01099, allocations: 3.938 kB / 0.8837 GB, free: 100 kB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002065/0.01119, allocations: 69.72 kB / 0.8837 GB, free: 24 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.01121, allocations: 6.344 kB / 0.8837 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01122, allocations: 0 / 0.8837 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.01123, allocations: 4 kB / 0.8837 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.01134, allocations: 16 kB / 0.8837 GB, free: 16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.01135, allocations: 0 / 0.8837 GB, free: 16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.01142, allocations: 11.95 kB / 0.8838 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.01143, allocations: 4 kB / 0.8838 GB, free: 15.98 MB / 0.8542 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.0001787/0.01161, allocations: 279.7 kB / 0.884 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.01172, allocations: 156.8 kB / 0.8842 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.01183, allocations: 160.4 kB / 0.8843 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001361/0.01196, allocations: 264.1 kB / 0.8846 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001509/0.01212, allocations: 276.2 kB / 0.8848 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001439/0.01226, allocations: 268.1 kB / 0.8851 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.01274, allocations: 0.4959 MB / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.016e-05/0.01282, allocations: 152.8 kB / 0.8857 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.0129, allocations: 149 kB / 0.8859 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001371/0.01304, allocations: 272 kB / 0.8861 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.01318, allocations: 268.1 kB / 0.8864 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001317/0.01331, allocations: 268 kB / 0.8866 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000131/0.01344, allocations: 268.1 kB / 0.8869 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.01371, allocations: 455.9 kB / 0.8873 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.763e-05/0.01381, allocations: 152.8 kB / 0.8875 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.01396, allocations: 272 kB / 0.8877 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.01409, allocations: 144.9 kB / 0.8879 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.01424, allocations: 276 kB / 0.8881 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.521e-05/0.01432, allocations: 148.9 kB / 0.8883 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001099/0.01443, allocations: 147.1 kB / 0.8884 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01443, allocations: 0 / 0.8884 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003196/0.01475, allocations: 59.75 kB / 0.8885 GB, free: 10.95 MB / 0.8542 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.0004085/0.01515, allocations: 290.1 kB / 0.8888 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.01527, allocations: 31.61 kB / 0.8888 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01527, allocations: 4 kB / 0.8888 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.01528, allocations: 0 / 0.8888 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006095/0.01588, allocations: 0.7152 MB / 0.8895 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.01627, allocations: 257.6 kB / 0.8897 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.234e-05/0.01635, allocations: 63.34 kB / 0.8898 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.723e-05/0.01638, allocations: 7.984 kB / 0.8898 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.01641, allocations: 8.5 kB / 0.8898 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.01641, allocations: 0 / 0.8898 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of Templates: time 0.005222/0.02164, allocations: 1.568 MB / 0.8913 GB, free: 7.969 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1) [Timeout 240] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.531797503936104]