Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="Buildings_10_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.007784/0.007784, allocations: 103.2 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.001793/0.001794, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.468/2.468, allocations: 437 MB / 0.7105 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 67.83 kB / 1.018 GB, free: 9.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8267/0.8281, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.002804/0.8309, allocations: 1.269 MB / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.8325, allocations: 0.8171 MB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.267e-05/0.8326, allocations: 0 / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.8326, allocations: 4 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-05/0.8327, allocations: 7.922 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.8333, allocations: 155.4 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.769e-05/0.8334, allocations: 47.78 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.8335, allocations: 0 / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.717e-05/0.8335, allocations: 23.97 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/0.8336, allocations: 19.92 kB / 1.168 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.8336, allocations: 4 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004173/0.834, allocations: 207.8 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.8341, allocations: 7.938 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.8341, allocations: 23.91 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.8343, allocations: 137.9 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8343, allocations: 0 / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.213e-06/0.8344, allocations: 0 / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.8344, allocations: 0 / 1.169 GB, free: 1.07 MB / 0.8887 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.000471/0.8348, allocations: 371.3 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.8349, allocations: 12.62 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.8349, allocations: 42.67 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.835, allocations: 8.844 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.8351, allocations: 164.3 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.8351, allocations: 4.375 kB / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.8351, allocations: 4.375 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.8353, allocations: 73.67 kB / 1.169 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.8353, allocations: 11.88 kB / 1.169 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.8354, allocations: 4 kB / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.8354, allocations: 0 / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.622e-05/0.8355, allocations: 31.86 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002955/0.8384, allocations: 2.099 MB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.311e-05/0.8385, allocations: 169.1 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.8386, allocations: 80.14 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.8386, allocations: 75.28 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.8387, allocations: 109.8 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.442e-06/0.8387, allocations: 4 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 7.985e-05/0.8388, allocations: 25.7 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.8389, allocations: 134.7 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.839, allocations: 137.7 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.839, allocations: 25.7 kB / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.8391, allocations: 99.88 kB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.63e-06/0.8391, allocations: 4 kB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.8392, allocations: 29.55 kB / 1.172 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.8393, allocations: 322.8 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.693e-05/0.8393, allocations: 4 kB / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.284e-05/0.8394, allocations: 35.42 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.8394, allocations: 43.38 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8394, allocations: 0 / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001743/0.8396, allocations: 69.61 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.8396, allocations: 8 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.8397, allocations: 0 / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.8397, allocations: 0 / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.032e-05/0.8398, allocations: 12.12 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.8398, allocations: 7.938 kB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.087e-05/0.8399, allocations: 11.97 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.8399, allocations: 11.97 kB / 1.173 GB, free: 12.29 MB / 0.9044 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.497e-05/0.84, allocations: 189.1 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.84, allocations: 101 kB / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.616e-05/0.8401, allocations: 112.5 kB / 1.173 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.674e-05/0.8402, allocations: 180.3 kB / 1.173 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.411e-05/0.8402, allocations: 180.2 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.112e-05/0.8403, allocations: 188.1 kB / 1.174 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.8406, allocations: 413.2 kB / 1.174 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.382e-05/0.8406, allocations: 104.9 kB / 1.174 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.8406, allocations: 105 kB / 1.174 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.059e-05/0.8407, allocations: 180.4 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.484e-05/0.8408, allocations: 184.2 kB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-05/0.8408, allocations: 180.3 kB / 1.175 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.487e-05/0.8409, allocations: 192.2 kB / 1.175 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.8411, allocations: 307.7 kB / 1.175 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/0.8412, allocations: 190 kB / 1.176 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.819e-05/0.8412, allocations: 188.1 kB / 1.176 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.8413, allocations: 104.9 kB / 1.176 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/0.8414, allocations: 176.3 kB / 1.176 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.8415, allocations: 112.8 kB / 1.176 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.229e-05/0.8415, allocations: 111.3 kB / 1.176 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8415, allocations: 0 / 1.176 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003136/0.8419, allocations: 51.94 kB / 1.176 GB, free: 8.582 MB / 0.9044 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.0005864/0.8424, allocations: 0.8672 MB / 1.177 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.646e-05/0.8426, allocations: 19.94 kB / 1.177 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.8426, allocations: 0 / 1.177 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.8426, allocations: 0 / 1.177 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.8431, allocations: 468.6 kB / 1.178 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.8436, allocations: 262.8 kB / 1.178 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.8438, allocations: 0.6846 MB / 1.178 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.639e-05/0.8439, allocations: 11.98 kB / 1.179 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.8439, allocations: 15.44 kB / 1.179 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.8439, allocations: 0 / 1.179 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.8633, allocations: 2.439 MB / 1.181 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.973/8.836, allocations: 15.5 kB / 1.181 GB, free: 3.867 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe >> ../files/Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.fmu > Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches