Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_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_latest_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.001387/0.001387, allocations: 100.2 kB / 16.27 MB, free: 5.969 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.001427/0.001427, allocations: 193.8 kB / 17.2 MB, free: 5.59 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.417/1.417, 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 12.0.0-master/package.mo): time 2.815/2.815, allocations: 482.4 MB / 0.7553 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.86 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7483/0.7503, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002425/0.7528, allocations: 1.288 MB / 1.084 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2025/0.9553, allocations: 147.6 MB / 1.228 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.9554, allocations: 0 / 1.228 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.9555, allocations: 0 / 1.228 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.692e-05/0.9556, allocations: 11.92 kB / 1.228 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.956, allocations: 123.4 kB / 1.228 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.684e-05/0.9561, allocations: 15.88 kB / 1.228 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.333e-05/0.9562, allocations: 4 kB / 1.228 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.9562, allocations: 15.86 kB / 1.229 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.894e-05/0.9563, allocations: 11.98 kB / 1.229 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.9563, allocations: 0 / 1.229 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00045/0.9567, allocations: 171.7 kB / 1.229 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.9568, allocations: 3.938 kB / 1.229 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.9568, allocations: 8 kB / 1.229 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.957, allocations: 109.7 kB / 1.229 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.9571, allocations: 4 kB / 1.229 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9571, allocations: 0 / 1.229 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.9571, allocations: 0 / 1.229 GB, free: 9.059 MB / 0.9512 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.0004195/0.9575, allocations: 351.4 kB / 1.229 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.9575, allocations: 8.031 kB / 1.229 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005674/0.9581, allocations: 40.89 kB / 1.229 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.9583, allocations: 172.3 kB / 1.229 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.9583, allocations: 3.938 kB / 1.229 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.9583, allocations: 0 / 1.229 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.9585, allocations: 49.61 kB / 1.229 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.9585, allocations: 3.984 kB / 1.229 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.9586, allocations: 4 kB / 1.229 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.9586, allocations: 0 / 1.229 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.9587, allocations: 15.98 kB / 1.229 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.9591, allocations: 256.9 kB / 1.23 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.678e-05/0.9592, allocations: 26.5 kB / 1.23 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.67e-05/0.9592, allocations: 12.92 kB / 1.23 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.9592, allocations: 0 / 1.23 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.9593, allocations: 34.56 kB / 1.23 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.9593, allocations: 4 kB / 1.23 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001549/0.9594, allocations: 37.7 kB / 1.23 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.9595, allocations: 59.33 kB / 1.23 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.9597, allocations: 113.8 kB / 1.23 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.9597, allocations: 25.7 kB / 1.23 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.9597, allocations: 87.98 kB / 1.23 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.9598, allocations: 8.031 kB / 1.23 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.9598, allocations: 21.7 kB / 1.23 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.96, allocations: 322.8 kB / 1.23 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/0.9601, allocations: 4 kB / 1.23 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.304e-05/0.9601, allocations: 15.98 kB / 1.23 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.215e-05/0.9602, allocations: 20.84 kB / 1.23 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9602, allocations: 4 kB / 1.23 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002021/0.9605, allocations: 61.61 kB / 1.23 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.9605, allocations: 4 kB / 1.23 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.9605, allocations: 0 / 1.23 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.9605, allocations: 3.938 kB / 1.23 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.9606, allocations: 11.98 kB / 1.231 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.9606, allocations: 0 / 1.231 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.9608, allocations: 15.92 kB / 1.231 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-06/0.9608, allocations: 0 / 1.231 GB, free: 7.07 MB / 0.9512 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 8.757e-05/0.9609, allocations: 110.4 kB / 1.231 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.9609, allocations: 3.984 kB / 1.231 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.037e-05/0.961, allocations: 7.125 kB / 1.231 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.961, allocations: 0 / 1.231 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.961, allocations: 4 kB / 1.231 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.961, allocations: 7.875 kB / 1.231 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.9612, allocations: 153.6 kB / 1.231 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9612, allocations: 4 kB / 1.231 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.9612, allocations: 0 / 1.231 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.9612, allocations: 0 / 1.231 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.9612, allocations: 4 kB / 1.231 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.9612, allocations: 0 / 1.231 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.9613, allocations: 4 kB / 1.231 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.9614, allocations: 143.4 kB / 1.231 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.9615, allocations: 81.14 kB / 1.231 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.9615, allocations: 4 kB / 1.231 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.9616, allocations: 3.984 kB / 1.231 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.9616, allocations: 0 / 1.231 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.9616, allocations: 7.938 kB / 1.231 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001093/0.9617, allocations: 91.27 kB / 1.231 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9617, allocations: 0 / 1.231 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002561/0.962, allocations: 12 kB / 1.231 GB, free: 6.352 MB / 0.9512 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.0001883/0.9622, allocations: 117.8 kB / 1.231 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.9624, allocations: 23.92 kB / 1.231 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9624, allocations: 0 / 1.231 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.22e-05/0.9624, allocations: 4 kB / 1.231 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.9627, allocations: 7.984 kB / 1.231 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.9631, allocations: 137 kB / 1.231 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.9634, allocations: 0.6768 MB / 1.232 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.9635, allocations: 11.44 kB / 1.232 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.9635, allocations: 0 / 1.232 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of Templates: time 0.002734/0.9662, allocations: 0.8165 MB / 1.233 GB, free: 4.5 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches