Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.006738/0.006738, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001797/0.001797, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.536/2.536, allocations: 437.1 MB / 0.7106 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 63.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2646, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002801/0.2674, allocations: 1.663 MB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006853/0.2681, allocations: 398.7 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.2682, allocations: 7.938 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.377e-05/0.2683, allocations: 11.86 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.086e-05/0.2684, allocations: 23.78 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.2688, allocations: 123.1 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.2689, allocations: 103.6 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.269, allocations: 44.25 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.067e-05/0.2691, allocations: 43.86 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.2692, allocations: 35.84 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.2692, allocations: 8 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.2694, allocations: 63.94 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.471e-05/0.2694, allocations: 23.91 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.2695, allocations: 43.73 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.2697, allocations: 143.4 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2698, allocations: 0 / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2698, allocations: 0 / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2698, allocations: 0 / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005931/0.2704, allocations: 421.2 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2704, allocations: 8.031 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.491e-05/0.2705, allocations: 42.73 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.2707, allocations: 32.83 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.2709, allocations: 188.2 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-05/0.271, allocations: 46.25 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.271, allocations: 8.312 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.2713, allocations: 102 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2713, allocations: 0 / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.2713, allocations: 4 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2713, allocations: 4 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.2716, allocations: 79.94 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008392/0.2724, allocations: 388.4 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/0.273, allocations: 126.7 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.2731, allocations: 44.81 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.2732, allocations: 3.938 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.2732, allocations: 38.56 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 3.377e-06/0.2732, allocations: 0 / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004388/0.2736, allocations: 141.5 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.2737, allocations: 59.34 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.2738, allocations: 135.4 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.2738, allocations: 25.7 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.2739, allocations: 104 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.2739, allocations: 19.8 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.274, allocations: 33.64 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2741, allocations: 314.8 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.2742, allocations: 32.12 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.2743, allocations: 53.61 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.2746, allocations: 77.69 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2746, allocations: 0 / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002736/0.2749, allocations: 113.5 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2749, allocations: 14.02 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2749, allocations: 0 / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2749, allocations: 3.938 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.275, allocations: 15.98 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.275, allocations: 4.031 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.63e-05/0.2751, allocations: 8 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.2751, allocations: 0 / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 8.734e-05/0.2752, allocations: 121.8 kB / 1.172 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.2753, allocations: 11.95 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.2753, allocations: 12.72 kB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2753, allocations: 3.938 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2753, allocations: 0 / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2753, allocations: 0 / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.2755, allocations: 209.5 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2756, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.2757, allocations: 19.98 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2757, allocations: 0 / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.2757, allocations: 4 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2757, allocations: 3.938 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2757, allocations: 4 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.276, allocations: 199.5 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.2761, allocations: 88.98 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.2761, allocations: 11.88 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.2763, allocations: 11.92 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.2763, allocations: 8 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.2763, allocations: 7.984 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.78e-05/0.2764, allocations: 99.27 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2764, allocations: 0 / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002358/0.2766, allocations: 24 kB / 1.172 GB, free: 0.7617 MB / 0.92 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 (7): * Single equations (assignments): 7 * 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.2772, allocations: 0.7287 MB / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002867/0.2775, allocations: 83.88 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2776, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.2777, allocations: 40.2 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.278, allocations: 34.28 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.2799, allocations: 1.543 MB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.2802, allocations: 0.6963 MB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.542e-05/0.2803, allocations: 8.672 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.299e-05/0.2803, allocations: 31.42 kB / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.2803, allocations: 3.938 kB / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.055/1.335, allocations: 2.73 MB / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.91, allocations: 3.75 kB / 1.178 GB, free: 10.86 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches