Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008924/0.008924, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.563/1.563, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.616/2.616, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 16 kB / 0.8728 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6894/0.6898, allocations: 153.8 MB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001311/0.6911, allocations: 1.015 MB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1573/0.8484, allocations: 143.8 MB / 1.164 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.8485, allocations: 0 / 1.164 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.8485, allocations: 4 kB / 1.164 GB, free: 14.53 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.49e-05/0.8486, allocations: 7.922 kB / 1.164 GB, free: 14.52 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.849, allocations: 95.61 kB / 1.165 GB, free: 14.43 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.115e-05/0.849, allocations: 15.88 kB / 1.165 GB, free: 14.41 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.8491, allocations: 4 kB / 1.165 GB, free: 14.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.407e-05/0.8491, allocations: 7.938 kB / 1.165 GB, free: 14.4 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.737e-05/0.8492, allocations: 11.98 kB / 1.165 GB, free: 14.39 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.8492, allocations: 0 / 1.165 GB, free: 14.39 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/0.8496, allocations: 179.6 kB / 1.165 GB, free: 14.21 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.796e-06/0.8496, allocations: 0 / 1.165 GB, free: 14.21 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.8497, allocations: 41.62 kB / 1.165 GB, free: 14.17 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.8499, allocations: 113.7 kB / 1.165 GB, free: 14.06 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8499, allocations: 0 / 1.165 GB, free: 14.06 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8499, allocations: 0 / 1.165 GB, free: 14.06 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.8499, allocations: 0 / 1.165 GB, free: 14.06 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002991/0.8502, allocations: 343.5 kB / 1.165 GB, free: 13.68 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.8503, allocations: 11.97 kB / 1.165 GB, free: 13.66 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005619/0.8509, allocations: 44.89 kB / 1.165 GB, free: 13.62 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.851, allocations: 168.3 kB / 1.165 GB, free: 13.42 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.851, allocations: 3.938 kB / 1.165 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.851, allocations: 4 kB / 1.165 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.8512, allocations: 49.64 kB / 1.165 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.8513, allocations: 8 kB / 1.165 GB, free: 13.35 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.8513, allocations: 0 / 1.165 GB, free: 13.35 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.8513, allocations: 0 / 1.165 GB, free: 13.35 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.8514, allocations: 11.98 kB / 1.166 GB, free: 13.34 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.8518, allocations: 260.8 kB / 1.166 GB, free: 13.03 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.406e-05/0.8519, allocations: 26.56 kB / 1.166 GB, free: 13 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/0.8519, allocations: 8.922 kB / 1.166 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.852, allocations: 0 / 1.166 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.852, allocations: 42.5 kB / 1.166 GB, free: 12.93 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.852, allocations: 0 / 1.166 GB, free: 12.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001469/0.8521, allocations: 41.62 kB / 1.166 GB, free: 12.89 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.8522, allocations: 55.41 kB / 1.166 GB, free: 12.82 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.8523, allocations: 114 kB / 1.166 GB, free: 12.7 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.8523, allocations: 25.7 kB / 1.166 GB, free: 12.67 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.8524, allocations: 84.08 kB / 1.166 GB, free: 12.58 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.294e-06/0.8524, allocations: 3.906 kB / 1.166 GB, free: 12.58 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.8524, allocations: 13.72 kB / 1.166 GB, free: 12.56 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8526, allocations: 322.8 kB / 1.166 GB, free: 12.23 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.138e-05/0.8526, allocations: 4 kB / 1.166 GB, free: 12.23 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.014e-05/0.8527, allocations: 15.98 kB / 1.166 GB, free: 12.21 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.72e-05/0.8528, allocations: 20.84 kB / 1.167 GB, free: 12.19 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8528, allocations: 0 / 1.167 GB, free: 12.19 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001892/0.853, allocations: 61.61 kB / 1.167 GB, free: 12.12 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.853, allocations: 5.719 kB / 1.167 GB, free: 12.12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.853, allocations: 0 / 1.167 GB, free: 12.12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.8531, allocations: 7.984 kB / 1.167 GB, free: 12.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.8532, allocations: 8 kB / 1.167 GB, free: 12.11 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.8532, allocations: 0 / 1.167 GB, free: 12.11 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.8533, allocations: 15.83 kB / 1.167 GB, free: 12.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.8534, allocations: 4 kB / 1.167 GB, free: 12.09 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.57e-05/0.8534, allocations: 113.8 kB / 1.167 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.8535, allocations: 0 / 1.167 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.8535, allocations: 11.12 kB / 1.167 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.8535, allocations: 0 / 1.167 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.8535, allocations: 0 / 1.167 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.8535, allocations: 3.938 kB / 1.167 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.8537, allocations: 157.7 kB / 1.167 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.8537, allocations: 0 / 1.167 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.8537, allocations: 11.94 kB / 1.167 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8537, allocations: 0 / 1.167 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.8538, allocations: 336 / 1.167 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8538, allocations: 0 / 1.167 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8538, allocations: 0 / 1.167 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.8539, allocations: 147.4 kB / 1.167 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.854, allocations: 89.02 kB / 1.167 GB, free: 11.47 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.854, allocations: 0 / 1.167 GB, free: 11.47 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.8541, allocations: 8 kB / 1.167 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.8541, allocations: 0 / 1.167 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.8541, allocations: 3.938 kB / 1.167 GB, free: 11.46 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.985e-05/0.8542, allocations: 91.3 kB / 1.167 GB, free: 11.37 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8542, allocations: 0 / 1.167 GB, free: 11.37 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002501/0.8545, allocations: 16 kB / 1.167 GB, free: 11.35 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 (2): * Single equations (assignments): 2 * 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.0001804/0.8547, allocations: 115.2 kB / 1.167 GB, free: 11.23 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.8548, allocations: 19.92 kB / 1.167 GB, free: 11.21 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8548, allocations: 0 / 1.167 GB, free: 11.21 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/0.8548, allocations: 15.98 kB / 1.167 GB, free: 11.2 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.8551, allocations: 6.391 kB / 1.167 GB, free: 11.19 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.8554, allocations: 130.5 kB / 1.167 GB, free: 11.04 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.8557, allocations: 0.677 MB / 1.168 GB, free: 10.34 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.333e-05/0.8558, allocations: 8.062 kB / 1.168 GB, free: 10.33 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.8558, allocations: 7.438 kB / 1.168 GB, free: 10.32 MB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.8558, allocations: 3.938 kB / 1.168 GB, free: 10.32 MB / 0.92 GB Notification: Performance of Templates: time 0.003124/0.859, allocations: 0.7131 MB / 1.169 GB, free: 9.609 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches