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.001454/0.001454, allocations: 104.5 kB / 16.27 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.001321/0.001322, allocations: 188 kB / 17.2 MB, free: 5.68 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.467/1.467, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.666/2.666, allocations: 437.1 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003195/0.003195, allocations: 71.58 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.337, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002555/0.3396, allocations: 1.283 MB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.694/1.034, allocations: 147.6 MB / 1.163 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/1.034, allocations: 5.219 kB / 1.163 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/1.034, allocations: 1.641 kB / 1.163 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 5.819e-05/1.034, allocations: 5.156 kB / 1.163 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/1.034, allocations: 119.6 kB / 1.164 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 5.761e-05/1.034, allocations: 19.55 kB / 1.164 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 5.044e-05/1.034, allocations: 1.594 kB / 1.164 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 3.899e-05/1.034, allocations: 8.125 kB / 1.164 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 3.601e-05/1.035, allocations: 10.28 kB / 1.164 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/1.035, allocations: 5.062 kB / 1.164 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004399/1.035, allocations: 167.1 kB / 1.164 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/1.035, allocations: 7.297 kB / 1.164 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/1.035, allocations: 8.125 kB / 1.164 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/1.035, allocations: 115.3 kB / 1.164 GB, free: 5.312 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.035, allocations: 0 / 1.164 GB, free: 5.312 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.977e-06/1.035, allocations: 1.438 kB / 1.164 GB, free: 5.312 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.02e-06/1.035, allocations: 7.875 kB / 1.164 GB, free: 5.305 MB / 0.8731 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.0004256/1.036, allocations: 343.3 kB / 1.164 GB, free: 4.941 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/1.036, allocations: 14.08 kB / 1.164 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005614/1.036, allocations: 34.14 kB / 1.164 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/1.037, allocations: 169.1 kB / 1.164 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/1.037, allocations: 5.188 kB / 1.164 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/1.037, allocations: 1.156 kB / 1.164 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/1.037, allocations: 52.3 kB / 1.164 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/1.037, allocations: 0 / 1.164 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/1.037, allocations: 1.156 kB / 1.164 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.037, allocations: 0 / 1.164 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/1.037, allocations: 19.05 kB / 1.164 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/1.037, allocations: 251.8 kB / 1.165 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 6.325e-05/1.037, allocations: 30.84 kB / 1.165 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.404e-05/1.037, allocations: 9.203 kB / 1.165 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/1.037, allocations: 0 / 1.165 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/1.038, allocations: 35.67 kB / 1.165 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=2): time 2.695e-06/1.038, allocations: 0 / 1.165 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2): time 0.0001765/1.038, allocations: 49.8 kB / 1.165 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/1.038, allocations: 55.53 kB / 1.165 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/1.038, allocations: 110.6 kB / 1.165 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/1.038, allocations: 26.89 kB / 1.165 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/1.038, allocations: 85.27 kB / 1.165 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/1.038, allocations: 9 kB / 1.165 GB, free: 4 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/1.038, allocations: 17.73 kB / 1.165 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.038, allocations: 322.7 kB / 1.165 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-05/1.038, allocations: 11.27 kB / 1.165 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.818e-05/1.038, allocations: 9.219 kB / 1.165 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.187e-05/1.039, allocations: 23.25 kB / 1.165 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.039, allocations: 0 / 1.165 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002049/1.039, allocations: 64.94 kB / 1.166 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/1.039, allocations: 4.469 kB / 1.166 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/1.039, allocations: 4 kB / 1.166 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/1.039, allocations: 1.406 kB / 1.166 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/1.039, allocations: 10.48 kB / 1.166 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/1.039, allocations: 0 / 1.166 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/1.039, allocations: 8.062 kB / 1.166 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/1.039, allocations: 5.062 kB / 1.166 GB, free: 3.598 MB / 0.8731 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 0.0001011/1.039, allocations: 113.4 kB / 1.166 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/1.039, allocations: 5.438 kB / 1.166 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/1.039, allocations: 5.406 kB / 1.166 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/1.039, allocations: 0 / 1.166 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.039, allocations: 3.938 kB / 1.166 GB, free: 3.469 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.039, allocations: 1.5 kB / 1.166 GB, free: 3.469 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/1.039, allocations: 156.7 kB / 1.166 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.039, allocations: 1.594 kB / 1.166 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/1.04, allocations: 4.75 kB / 1.166 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.04, allocations: 1.219 kB / 1.166 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.289e-06/1.04, allocations: 0 / 1.166 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.04, allocations: 5.312 kB / 1.166 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.04, allocations: 3.938 kB / 1.166 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/1.04, allocations: 135.6 kB / 1.166 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-05/1.04, allocations: 82.17 kB / 1.166 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/1.04, allocations: 3.484 kB / 1.166 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-05/1.04, allocations: 5.125 kB / 1.166 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/1.04, allocations: 1.125 kB / 1.166 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/1.04, allocations: 8.625 kB / 1.166 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001031/1.04, allocations: 95.34 kB / 1.166 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.04, allocations: 0 / 1.166 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002603/1.04, allocations: 18.45 kB / 1.166 GB, free: 2.938 MB / 0.8731 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.0001997/1.04, allocations: 110.6 kB / 1.166 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001573/1.041, allocations: 28.55 kB / 1.166 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.041, allocations: 0 / 1.166 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.335e-05/1.041, allocations: 6.812 kB / 1.166 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/1.041, allocations: 6.938 kB / 1.166 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/1.041, allocations: 148.4 kB / 1.166 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/1.042, allocations: 0.6787 MB / 1.167 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/1.042, allocations: 12.22 kB / 1.167 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/1.042, allocations: 0 / 1.167 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of Templates: time 0.003237/1.045, allocations: 0.8061 MB / 1.168 GB, free: 1.934 MB / 0.8731 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/jenkins1/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