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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001435/0.001435, 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.001636/0.001636, allocations: 195.5 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.188/1.188, 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 9.1.3-maint.9.1.x/package.mo): time 2.127/2.127, allocations: 390.2 MB / 0.6647 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.83 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5045/0.5058, allocations: 140.4 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.002027/0.5078, allocations: 1.269 MB / 0.9509 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009665/0.5088, allocations: 0.8138 MB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.5088, allocations: 0 / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.5089, allocations: 0 / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.316e-05/0.5089, allocations: 5.5 kB / 0.9517 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.5094, allocations: 162.5 kB / 0.9519 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.748e-05/0.5095, allocations: 44.66 kB / 0.9519 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.5095, allocations: 2.688 kB / 0.9519 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.986e-05/0.5096, allocations: 21.98 kB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.266e-05/0.5096, allocations: 19.08 kB / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.5096, allocations: 2.375 kB / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.51, allocations: 200.3 kB / 0.9522 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.51, allocations: 13.52 kB / 0.9522 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.5101, allocations: 18.73 kB / 0.9522 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.5103, allocations: 140.5 kB / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5103, allocations: 0 / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.153e-06/0.5103, allocations: 1.125 kB / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.5103, allocations: 0 / 0.9523 GB, free: 7.09 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.0003438/0.5107, allocations: 377 kB / 0.9527 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.5107, allocations: 9.906 kB / 0.9527 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.327e-05/0.5107, allocations: 36.22 kB / 0.9527 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.5108, allocations: 5.938 kB / 0.9527 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.13e-05/0.5108, allocations: 171.7 kB / 0.9529 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.5108, allocations: 8.375 kB / 0.9529 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.5109, allocations: 3.438 kB / 0.9529 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.511, allocations: 74.3 kB / 0.953 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.511, allocations: 9.219 kB / 0.953 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.511, allocations: 0 / 0.953 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.511, allocations: 1.219 kB / 0.953 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.906e-05/0.5111, allocations: 27.8 kB / 0.953 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.5131, allocations: 2.094 MB / 0.9551 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.879e-05/0.5131, allocations: 174 kB / 0.9552 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.339e-05/0.5131, allocations: 86.81 kB / 0.9553 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.5131, allocations: 75.28 kB / 0.9554 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.5132, allocations: 110.8 kB / 0.9555 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/0.5132, allocations: 0 / 0.9555 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.985e-05/0.5132, allocations: 32.11 kB / 0.9555 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.5133, allocations: 132.1 kB / 0.9557 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.605e-05/0.5134, allocations: 131.7 kB / 0.9558 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.52e-06/0.5134, allocations: 25.7 kB / 0.9558 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.5134, allocations: 113.9 kB / 0.9559 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.5134, allocations: 1.25 kB / 0.9559 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.5135, allocations: 24.34 kB / 0.9559 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.354e-05/0.5135, allocations: 320.3 kB / 0.9562 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.5135, allocations: 5.625 kB / 0.9563 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.5136, allocations: 39.39 kB / 0.9563 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.697e-05/0.5136, allocations: 37 kB / 0.9563 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5136, allocations: 1.031 kB / 0.9563 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001387/0.5138, allocations: 70.69 kB / 0.9564 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.5138, allocations: 6.312 kB / 0.9564 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5138, allocations: 1.531 kB / 0.9564 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.5138, allocations: 1.188 kB / 0.9564 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.975e-05/0.5139, allocations: 17.42 kB / 0.9564 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.5139, allocations: 4.844 kB / 0.9564 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.514, allocations: 10.47 kB / 0.9564 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.514, allocations: 2.219 kB / 0.9564 GB, free: 2.652 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.549e-05/0.514, allocations: 192.2 kB / 0.9566 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.5141, allocations: 107.9 kB / 0.9567 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.5141, allocations: 113.7 kB / 0.9568 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.5141, allocations: 177.7 kB / 0.957 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/0.5141, allocations: 180.3 kB / 0.9572 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.5142, allocations: 193.6 kB / 0.9574 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.5143, allocations: 407.5 kB / 0.9577 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.5143, allocations: 108.9 kB / 0.9578 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-05/0.5143, allocations: 106.4 kB / 0.958 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/0.5143, allocations: 178 kB / 0.9581 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.5144, allocations: 184.2 kB / 0.9583 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-05/0.5144, allocations: 181.4 kB / 0.9585 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.786e-05/0.5144, allocations: 185.8 kB / 0.9586 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.633e-05/0.5145, allocations: 319.8 kB / 0.959 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-05/0.5146, allocations: 184.1 kB / 0.9591 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.986e-05/0.5147, allocations: 181.3 kB / 0.9593 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.61e-05/0.5148, allocations: 106.4 kB / 0.9594 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.5148, allocations: 177.5 kB / 0.9596 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.5149, allocations: 114.1 kB / 0.9597 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.247e-05/0.5149, allocations: 109.5 kB / 0.9598 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5149, allocations: 0 / 0.9598 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002951/0.5152, allocations: 54.17 kB / 0.9598 GB, free: 15.02 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.0004883/0.5157, allocations: 0.8695 MB / 0.9607 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.171e-05/0.5158, allocations: 28.36 kB / 0.9607 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5158, allocations: 3.938 kB / 0.9607 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.5158, allocations: 0 / 0.9607 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.5162, allocations: 463.1 kB / 0.9612 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.5167, allocations: 260.2 kB / 0.9614 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.5169, allocations: 0.6825 MB / 0.9621 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.526e-05/0.5169, allocations: 9.234 kB / 0.9621 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.517, allocations: 12.91 kB / 0.9621 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.517, allocations: 5.406 kB / 0.9621 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1597/0.6767, allocations: 2.4 MB / 0.9644 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.863, allocations: 14.75 kB / 0.9645 GB, free: 11.46 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