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.0008541/0.0008541, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.004947/0.004947, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.22/1.22, 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 11.0.0-master/package.mo): time 2.522/2.522, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.0002941, allocations: 14.19 kB / 0.9029 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2384, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.001104/0.2395, allocations: 0.9976 MB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.2407, allocations: 0.8688 MB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.464e-05/0.2407, allocations: 3.938 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/0.2407, allocations: 0 / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.344e-05/0.2408, allocations: 7.938 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.2412, allocations: 123.7 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.835e-05/0.2413, allocations: 43.78 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.2413, allocations: 4 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.221e-05/0.2413, allocations: 27.91 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.2414, allocations: 23.86 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.2414, allocations: 0 / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000372/0.2418, allocations: 191.8 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.2418, allocations: 8 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.2419, allocations: 45.56 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.2421, allocations: 135.9 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2421, allocations: 0 / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2421, allocations: 0 / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.2421, allocations: 4 kB / 1.061 GB, free: 2.391 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.000377/0.2425, allocations: 367.5 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2425, allocations: 11.97 kB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.2426, allocations: 34.75 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.134e-05/0.2426, allocations: 4.844 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.2427, allocations: 172.4 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.2427, allocations: 4.312 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.2427, allocations: 4.375 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.2429, allocations: 81.66 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.2429, allocations: 3.938 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.2429, allocations: 0 / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.2429, allocations: 4 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.756e-05/0.243, allocations: 23.92 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.2454, allocations: 2.099 MB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.375e-05/0.2455, allocations: 169.1 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.2455, allocations: 88.14 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.2456, allocations: 75.28 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.2456, allocations: 109.8 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2456, allocations: 0 / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.348e-05/0.2457, allocations: 37.59 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.2457, allocations: 126.7 kB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.2459, allocations: 141.6 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.2459, allocations: 25.7 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.2459, allocations: 107.8 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-06/0.2459, allocations: 0 / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.246, allocations: 13.72 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9e-05/0.2461, allocations: 318.8 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.089e-05/0.2461, allocations: 15.92 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.728e-05/0.2462, allocations: 31.44 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.648e-05/0.2462, allocations: 47.36 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2462, allocations: 0 / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001513/0.2464, allocations: 73.56 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2464, allocations: 9.531 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2464, allocations: 128 / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2464, allocations: 8 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.788e-05/0.2465, allocations: 11.98 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2465, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.72e-05/0.2466, allocations: 15.78 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.2466, allocations: 4 kB / 1.065 GB, free: 13.61 MB / 0.8262 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 7.999e-05/0.2467, allocations: 189.1 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.2467, allocations: 109 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.2468, allocations: 108.5 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.118e-05/0.2468, allocations: 184.2 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.001e-05/0.2469, allocations: 176.3 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-05/0.247, allocations: 180.2 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.2472, allocations: 417.1 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.141e-05/0.2472, allocations: 109 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/0.2472, allocations: 108.9 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.146e-05/0.2473, allocations: 176.3 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.078e-05/0.2473, allocations: 180.2 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.072e-05/0.2474, allocations: 184.2 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.225e-05/0.2475, allocations: 184.3 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.2476, allocations: 307.6 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.503e-05/0.2477, allocations: 198 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/0.2477, allocations: 180.2 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.87e-05/0.2478, allocations: 101 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.2479, allocations: 188.2 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.2479, allocations: 104.9 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.539e-05/0.248, allocations: 107.3 kB / 1.069 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.248, allocations: 0 / 1.069 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002917/0.2483, allocations: 51.92 kB / 1.069 GB, free: 9.922 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.0004757/0.2488, allocations: 0.871 MB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.631e-05/0.2489, allocations: 23.92 kB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2489, allocations: 4 kB / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.2489, allocations: 256 / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.2493, allocations: 0.5302 MB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.2497, allocations: 290.2 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.2499, allocations: 0.6809 MB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.526e-05/0.25, allocations: 7.938 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.25, allocations: 7.438 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.25, allocations: 4 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9328/1.183, allocations: 2.22 MB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/1.183, allocations: 227.5 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.953, allocations: 4.688 kB / 1.073 GB, free: 5.105 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