Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 107.5 kB / 16.27 MB, free: 6.414 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.001452/0.001452, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.682/2.682, allocations: 469.4 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 59.92 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3159, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003238/0.3192, allocations: 1.666 MB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007591/0.3199, allocations: 402.8 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.792e-05/0.3201, allocations: 4 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.3202, allocations: 11.81 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.117e-05/0.3203, allocations: 23.78 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.3208, allocations: 117.9 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.3209, allocations: 107.6 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.3211, allocations: 39.97 kB / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.404e-05/0.3212, allocations: 39.91 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.599e-05/0.3212, allocations: 43.78 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.3213, allocations: 8 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.3214, allocations: 67.94 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.3215, allocations: 15.92 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.3215, allocations: 47.8 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.3218, allocations: 127.9 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3218, allocations: 0 / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3218, allocations: 0 / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.3218, allocations: 0 / 1.067 GB, free: 12.33 MB / 0.8419 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.0005926/0.3224, allocations: 415.1 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3225, allocations: 8.031 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.3227, allocations: 40.72 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.3229, allocations: 196.1 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/0.323, allocations: 30.27 kB / 1.068 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.323, allocations: 8.375 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.3233, allocations: 100.2 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3233, allocations: 7.922 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.3234, allocations: 7.938 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3234, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.3236, allocations: 83.94 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/0.3243, allocations: 392.6 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.3249, allocations: 134.6 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.325, allocations: 40.83 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.325, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.3251, allocations: 34.56 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.3251, allocations: 0 / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004165/0.3255, allocations: 133.7 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.3255, allocations: 55.34 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3257, allocations: 147.2 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.3257, allocations: 29.7 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.3258, allocations: 96.12 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.3258, allocations: 31.64 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.3258, allocations: 17.72 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.326, allocations: 322.8 kB / 1.069 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.3261, allocations: 27.98 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.3262, allocations: 45.69 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.3264, allocations: 77.67 kB / 1.069 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3264, allocations: 0 / 1.069 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002695/0.3267, allocations: 114 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3267, allocations: 4 kB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3267, allocations: 3.984 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3267, allocations: 4 kB / 1.069 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3269, allocations: 23.95 kB / 1.069 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3269, allocations: 0 / 1.069 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.494e-05/0.327, allocations: 23.83 kB / 1.069 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.327, allocations: 80 / 1.069 GB, free: 9.488 MB / 0.8419 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.126e-05/0.3271, allocations: 117.8 kB / 1.069 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.3271, allocations: 7.906 kB / 1.07 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.3271, allocations: 16.72 kB / 1.07 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3272, allocations: 3.938 kB / 1.07 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3272, allocations: 4 kB / 1.07 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3272, allocations: 3.984 kB / 1.07 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.3274, allocations: 193.6 kB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3274, allocations: 0 / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.3275, allocations: 15.98 kB / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3275, allocations: 0 / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.3275, allocations: 0 / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.3275, allocations: 7.922 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3275, allocations: 0 / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.3278, allocations: 215.3 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.3279, allocations: 89.02 kB / 1.07 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.3279, allocations: 0 / 1.07 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.3281, allocations: 19.86 kB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.3281, allocations: 7.984 kB / 1.07 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.3282, allocations: 4 kB / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.446e-05/0.3282, allocations: 104.8 kB / 1.07 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3282, allocations: 4 kB / 1.07 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002528/0.3285, allocations: 23.91 kB / 1.07 GB, free: 8.574 MB / 0.8419 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.0001171/0.3286, allocations: 103.8 kB / 1.07 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.3289, allocations: 71.89 kB / 1.07 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3289, allocations: 0 / 1.07 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.329, allocations: 40.03 kB / 1.07 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.3294, allocations: 29.7 kB / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.3299, allocations: 235.1 kB / 1.071 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.3302, allocations: 0.6924 MB / 1.071 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.3302, allocations: 15.44 kB / 1.071 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3302, allocations: 0 / 1.071 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of Templates: time 0.002898/0.3331, allocations: 1.304 MB / 1.073 GB, free: 6.039 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches