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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001188/0.001188, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.197/1.197, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.406/2.406, allocations: 461.8 MB / 0.7342 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 66.97 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2474, allocations: 157.4 MB / 1.052 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.002336/0.2498, allocations: 1.325 MB / 1.053 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.2513, allocations: 0.8804 MB / 1.054 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.908e-05/0.2513, allocations: 4 kB / 1.054 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.2514, allocations: 0 / 1.054 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.408e-05/0.2514, allocations: 7.922 kB / 1.054 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.2519, allocations: 127.6 kB / 1.054 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.298e-05/0.252, allocations: 47.78 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.252, allocations: 4 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.958e-05/0.2521, allocations: 19.92 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.554e-05/0.2521, allocations: 23.91 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.2522, allocations: 4 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.2526, allocations: 195.8 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.2526, allocations: 4 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.2526, allocations: 19.86 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.2529, allocations: 139.9 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2529, allocations: 0 / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.32e-07/0.2529, allocations: 0 / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.2529, allocations: 0 / 1.055 GB, free: 5.355 MB / 0.8106 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.0004188/0.2533, allocations: 375.4 kB / 1.055 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2534, allocations: 15.95 kB / 1.055 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.504e-05/0.2534, allocations: 34.75 kB / 1.055 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.2534, allocations: 4.938 kB / 1.055 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.2536, allocations: 168.2 kB / 1.055 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.2536, allocations: 8.359 kB / 1.055 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.2536, allocations: 384 / 1.055 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.2537, allocations: 81.66 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2537, allocations: 11.88 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.2537, allocations: 0 / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2538, allocations: 0 / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.428e-05/0.2538, allocations: 23.98 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.2566, allocations: 2.103 MB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.426e-05/0.2567, allocations: 169.1 kB / 1.058 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.2567, allocations: 84.08 kB / 1.058 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.2568, allocations: 75.28 kB / 1.058 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.2568, allocations: 117.8 kB / 1.058 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2568, allocations: 0 / 1.058 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.757e-05/0.2569, allocations: 29.69 kB / 1.058 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.257, allocations: 126.7 kB / 1.058 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.2571, allocations: 137.6 kB / 1.058 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.2571, allocations: 25.7 kB / 1.058 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.2572, allocations: 103.8 kB / 1.058 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.2572, allocations: 0 / 1.058 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.2572, allocations: 29.7 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2573, allocations: 322.8 kB / 1.059 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.2574, allocations: 7.938 kB / 1.059 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.023e-05/0.2574, allocations: 35.42 kB / 1.059 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.077e-05/0.2575, allocations: 43.38 kB / 1.059 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2575, allocations: 0 / 1.059 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001614/0.2577, allocations: 69.52 kB / 1.059 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2577, allocations: 9.562 kB / 1.059 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2577, allocations: 0 / 1.059 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.2577, allocations: 0 / 1.059 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.414e-05/0.2578, allocations: 12 kB / 1.059 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2578, allocations: 4.25 kB / 1.059 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.282e-05/0.2579, allocations: 23.86 kB / 1.059 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.2579, allocations: 3.938 kB / 1.059 GB, free: 0.5625 MB / 0.8106 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.591e-05/0.258, allocations: 185.1 kB / 1.059 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.258, allocations: 108.9 kB / 1.059 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/0.2581, allocations: 112.5 kB / 1.059 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-05/0.2582, allocations: 184.2 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.478e-05/0.2582, allocations: 180.3 kB / 1.06 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.765e-05/0.2583, allocations: 184.1 kB / 1.06 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.2585, allocations: 409.2 kB / 1.06 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.049e-05/0.2586, allocations: 108.9 kB / 1.06 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.2586, allocations: 109 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.662e-05/0.2587, allocations: 180.3 kB / 1.061 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/0.2587, allocations: 180.2 kB / 1.061 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-05/0.2588, allocations: 176.3 kB / 1.061 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.807e-05/0.2588, allocations: 188.2 kB / 1.061 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.259, allocations: 307.8 kB / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/0.2591, allocations: 193.9 kB / 1.062 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.926e-05/0.2591, allocations: 180.3 kB / 1.062 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/0.2592, allocations: 108.9 kB / 1.062 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.2593, allocations: 180.2 kB / 1.062 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.2593, allocations: 104.9 kB / 1.062 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.664e-05/0.2594, allocations: 111.2 kB / 1.062 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2594, allocations: 3.938 kB / 1.062 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002996/0.2597, allocations: 55.94 kB / 1.062 GB, free: 12.86 MB / 0.8262 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.0005141/0.2602, allocations: 0.8672 MB / 1.063 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.559e-05/0.2603, allocations: 15.94 kB / 1.063 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2603, allocations: 0 / 1.063 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.2603, allocations: 0 / 1.063 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/0.2609, allocations: 0.5351 MB / 1.064 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.2613, allocations: 273.7 kB / 1.064 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.2616, allocations: 0.6809 MB / 1.065 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.225e-05/0.2616, allocations: 11.98 kB / 1.065 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.2617, allocations: 11.44 kB / 1.065 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2617, allocations: 0 / 1.065 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.2808, allocations: 2.293 MB / 1.067 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.2811, allocations: 224.2 kB / 1.067 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/1.894, allocations: 1.375 kB / 1.067 GB, free: 7.973 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.fmu > 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/jenkins1/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