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 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.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.008965/0.008965, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001995/0.001995, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.778/2.778, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 59.91 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3194, allocations: 157.4 MB / 1.208 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00247/0.3219, allocations: 1.287 MB / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8619/1.184, allocations: 147.6 MB / 1.353 GB, free: 14.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/1.184, allocations: 0 / 1.353 GB, free: 14.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/1.184, allocations: 4.688 kB / 1.353 GB, free: 14.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.39e-05/1.184, allocations: 10.83 kB / 1.353 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/1.184, allocations: 113.6 kB / 1.353 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.941e-05/1.185, allocations: 30.05 kB / 1.353 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.175e-05/1.185, allocations: 1.656 kB / 1.353 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.88e-05/1.185, allocations: 5.203 kB / 1.353 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.237e-05/1.185, allocations: 8.516 kB / 1.353 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/1.185, allocations: 0 / 1.353 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/1.185, allocations: 174.2 kB / 1.353 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.798e-06/1.185, allocations: 1.312 kB / 1.353 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/1.185, allocations: 8.688 kB / 1.354 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/1.185, allocations: 115.4 kB / 1.354 GB, free: 14.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.185, allocations: 5.312 kB / 1.354 GB, free: 14.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.182e-06/1.185, allocations: 0 / 1.354 GB, free: 14.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.589e-06/1.185, allocations: 0 / 1.354 GB, free: 14.13 MB / 1.061 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.0003545/1.186, allocations: 356.6 kB / 1.354 GB, free: 13.76 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/1.186, allocations: 10.06 kB / 1.354 GB, free: 13.76 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005551/1.186, allocations: 37.31 kB / 1.354 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/1.187, allocations: 167.4 kB / 1.354 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/1.187, allocations: 5.25 kB / 1.354 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/1.187, allocations: 4.141 kB / 1.354 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/1.187, allocations: 43.2 kB / 1.354 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/1.187, allocations: 1.312 kB / 1.354 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/1.187, allocations: 4 kB / 1.354 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/1.187, allocations: 3.938 kB / 1.354 GB, free: 13.51 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/1.187, allocations: 20.75 kB / 1.354 GB, free: 13.51 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/1.187, allocations: 247.7 kB / 1.354 GB, free: 13.24 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5e-05/1.187, allocations: 26.73 kB / 1.355 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/1.187, allocations: 8.328 kB / 1.355 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/1.187, allocations: 1.375 kB / 1.355 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/1.187, allocations: 40.53 kB / 1.355 GB, free: 13.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/1.187, allocations: 3.938 kB / 1.355 GB, free: 13.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001345/1.188, allocations: 36.83 kB / 1.355 GB, free: 13.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/1.188, allocations: 51.41 kB / 1.355 GB, free: 13.06 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/1.188, allocations: 113.9 kB / 1.355 GB, free: 12.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/1.188, allocations: 25.7 kB / 1.355 GB, free: 12.92 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/1.188, allocations: 90.05 kB / 1.355 GB, free: 12.83 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.875e-06/1.188, allocations: 10.02 kB / 1.355 GB, free: 12.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/1.188, allocations: 22.34 kB / 1.355 GB, free: 12.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/1.188, allocations: 315.6 kB / 1.355 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.481e-05/1.188, allocations: 10.38 kB / 1.355 GB, free: 12.49 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.718e-05/1.188, allocations: 10.48 kB / 1.355 GB, free: 12.49 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.839e-05/1.188, allocations: 30.66 kB / 1.355 GB, free: 12.47 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.188, allocations: 0 / 1.355 GB, free: 12.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001915/1.188, allocations: 60.72 kB / 1.355 GB, free: 12.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/1.188, allocations: 10.02 kB / 1.355 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.188, allocations: 0 / 1.355 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/1.188, allocations: 1.312 kB / 1.355 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/1.189, allocations: 9.891 kB / 1.355 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/1.189, allocations: 1.031 kB / 1.355 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/1.189, allocations: 15.72 kB / 1.355 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/1.189, allocations: 6.047 kB / 1.355 GB, free: 12.41 MB / 1.061 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 6.293e-05/1.189, allocations: 107.9 kB / 1.355 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/1.189, allocations: 2.031 kB / 1.355 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/1.189, allocations: 4.562 kB / 1.355 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.189, allocations: 5.297 kB / 1.355 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.189, allocations: 0 / 1.355 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/1.189, allocations: 1.188 kB / 1.355 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/1.189, allocations: 164.7 kB / 1.356 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.189, allocations: 2.312 kB / 1.356 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/1.189, allocations: 3.375 kB / 1.356 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.189, allocations: 3.938 kB / 1.356 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/1.189, allocations: 1.312 kB / 1.356 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.189, allocations: 0 / 1.356 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.189, allocations: 0.75 kB / 1.356 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.937e-05/1.189, allocations: 140.1 kB / 1.356 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/1.189, allocations: 79.22 kB / 1.356 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/1.189, allocations: 1.438 kB / 1.356 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/1.189, allocations: 7.406 kB / 1.356 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/1.189, allocations: 2.297 kB / 1.356 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/1.189, allocations: 0 / 1.356 GB, free: 11.85 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.914e-05/1.189, allocations: 91.28 kB / 1.356 GB, free: 11.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.7e-07/1.189, allocations: 3.938 kB / 1.356 GB, free: 11.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002693/1.19, allocations: 17.22 kB / 1.356 GB, free: 11.76 MB / 1.061 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.0001521/1.19, allocations: 114.2 kB / 1.356 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001369/1.19, allocations: 16.36 kB / 1.356 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.19, allocations: 1.312 kB / 1.356 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.572e-05/1.19, allocations: 8.484 kB / 1.356 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/1.19, allocations: 8.203 kB / 1.356 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/1.191, allocations: 121.7 kB / 1.356 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/1.191, allocations: 0.6793 MB / 1.357 GB, free: 10.85 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.98e-05/1.191, allocations: 6.828 kB / 1.357 GB, free: 10.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/1.191, allocations: 10.5 kB / 1.357 GB, free: 10.84 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/1.191, allocations: 0 / 1.357 GB, free: 10.84 MB / 1.061 GB Notification: Performance of Templates: time 0.00305/1.194, allocations: 0.7419 MB / 1.358 GB, free: 10.75 MB / 1.061 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=480 -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/jenkins/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