Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: "" <> buildModelFMU(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="Buildings_9_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="Buildings_9_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.00096/0.0009599, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006033/0.006033, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.213/1.213, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.126/2.126, allocations: 390.9 MB / 0.6664 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003001, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.541/0.5413, allocations: 142.4 MB / 0.9552 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.000992/0.5423, allocations: 0.9976 MB / 0.9561 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.5434, allocations: 0.8492 MB / 0.957 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.507e-05/0.5434, allocations: 0.9062 kB / 0.957 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.5434, allocations: 4 kB / 0.957 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.99e-05/0.5435, allocations: 13.06 kB / 0.957 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.5438, allocations: 128 kB / 0.9571 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.175e-05/0.5439, allocations: 39.55 kB / 0.9571 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.5439, allocations: 2.125 kB / 0.9571 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.641e-05/0.544, allocations: 21.23 kB / 0.9572 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.544, allocations: 23.91 kB / 0.9572 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.544, allocations: 2.719 kB / 0.9572 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.5444, allocations: 198.2 kB / 0.9574 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.5444, allocations: 14.11 kB / 0.9574 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.5444, allocations: 35.11 kB / 0.9574 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.5446, allocations: 140 kB / 0.9576 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5446, allocations: 0 / 0.9576 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5446, allocations: 3.938 kB / 0.9576 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.5446, allocations: 1.25 kB / 0.9576 GB, free: 5.836 MB / 0.7169 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.0003043/0.5449, allocations: 369.5 kB / 0.9579 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.545, allocations: 8.469 kB / 0.9579 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.354e-05/0.545, allocations: 44.45 kB / 0.958 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.111e-05/0.545, allocations: 7.125 kB / 0.958 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.735e-05/0.5451, allocations: 169.9 kB / 0.9581 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.5451, allocations: 7.094 kB / 0.9581 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.5451, allocations: 1.656 kB / 0.9581 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.5452, allocations: 78.73 kB / 0.9582 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.5452, allocations: 5.125 kB / 0.9582 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.5453, allocations: 4.938 kB / 0.9582 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5453, allocations: 1.094 kB / 0.9582 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.475e-05/0.5453, allocations: 27.45 kB / 0.9583 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.5472, allocations: 2.091 MB / 0.9603 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.612e-05/0.5473, allocations: 174.4 kB / 0.9605 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.251e-05/0.5473, allocations: 80.14 kB / 0.9605 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.5473, allocations: 76.66 kB / 0.9606 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.5473, allocations: 113.8 kB / 0.9607 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.5473, allocations: 1.375 kB / 0.9607 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.369e-05/0.5474, allocations: 31.06 kB / 0.9608 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.5474, allocations: 128.1 kB / 0.9609 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9e-05/0.5475, allocations: 130.4 kB / 0.961 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-06/0.5475, allocations: 27.08 kB / 0.961 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.5475, allocations: 114.5 kB / 0.9611 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-06/0.5476, allocations: 0 / 0.9611 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.5476, allocations: 15.03 kB / 0.9611 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.427e-05/0.5476, allocations: 328.1 kB / 0.9615 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.5476, allocations: 5.5 kB / 0.9615 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.5477, allocations: 35.67 kB / 0.9615 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.485e-05/0.5477, allocations: 41 kB / 0.9615 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5477, allocations: 1.375 kB / 0.9615 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001289/0.5479, allocations: 63.75 kB / 0.9616 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.5479, allocations: 5.344 kB / 0.9616 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.5479, allocations: 0 / 0.9616 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.5479, allocations: 2.688 kB / 0.9616 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.548, allocations: 13.3 kB / 0.9616 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.548, allocations: 5 kB / 0.9616 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.548, allocations: 18.78 kB / 0.9616 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.5481, allocations: 2.875 kB / 0.9616 GB, free: 1.402 MB / 0.7169 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 4.419e-05/0.5481, allocations: 182.6 kB / 0.9618 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.5481, allocations: 111.8 kB / 0.9619 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.5482, allocations: 118.3 kB / 0.962 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.5482, allocations: 177.2 kB / 0.9622 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/0.5482, allocations: 185.3 kB / 0.9624 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.5482, allocations: 185.3 kB / 0.9626 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.5484, allocations: 411 kB / 0.963 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.251e-05/0.5484, allocations: 113 kB / 0.9631 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.5485, allocations: 102.1 kB / 0.9632 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.082e-05/0.5485, allocations: 185.3 kB / 0.9633 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.5486, allocations: 181.2 kB / 0.9635 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.223e-05/0.5486, allocations: 177.1 kB / 0.9637 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.662e-05/0.5487, allocations: 181 kB / 0.9639 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.5488, allocations: 313.5 kB / 0.9642 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.5488, allocations: 195.4 kB / 0.9643 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-05/0.5489, allocations: 177.5 kB / 0.9645 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.549, allocations: 106.2 kB / 0.9646 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.5491, allocations: 177.4 kB / 0.9648 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.5491, allocations: 110.5 kB / 0.9649 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.231e-05/0.5492, allocations: 109.5 kB / 0.965 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5492, allocations: 4 kB / 0.965 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002825/0.5494, allocations: 54.97 kB / 0.965 GB, free: 13.78 MB / 0.7325 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.0004592/0.5499, allocations: 0.8674 MB / 0.9659 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.017e-05/0.55, allocations: 20.91 kB / 0.9659 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.55, allocations: 0 / 0.9659 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.55, allocations: 1.125 kB / 0.9659 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.5504, allocations: 0.5274 MB / 0.9664 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.5508, allocations: 290.7 kB / 0.9667 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.551, allocations: 0.6793 MB / 0.9674 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.614e-05/0.551, allocations: 7.75 kB / 0.9674 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.5511, allocations: 21.67 kB / 0.9674 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5511, allocations: 0 / 0.9674 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7153/1.266, allocations: 2.228 MB / 0.9696 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.267, allocations: 220.1 kB / 0.9698 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.801, allocations: 0 / 0.9698 GB, free: 10.08 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe >> ../files/Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.fmu > Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches