Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007713/0.007713, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001892/0.001892, allocations: 198.9 kB / 16.68 MB, free: 5.969 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.818/2.818, allocations: 469.8 MB / 0.7425 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 71.88 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3302, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002282/0.3325, allocations: 1.297 MB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8795/1.212, allocations: 148.1 MB / 1.366 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/1.212, allocations: 3.312 kB / 1.366 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/1.212, allocations: 3.938 kB / 1.366 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.126e-05/1.212, allocations: 6.75 kB / 1.366 GB, free: 15.9 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000573/1.213, allocations: 112 kB / 1.367 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.243e-05/1.213, allocations: 23.16 kB / 1.367 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/1.213, allocations: 5.734 kB / 1.367 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.94e-05/1.213, allocations: 8.531 kB / 1.367 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.725e-05/1.213, allocations: 9.406 kB / 1.367 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/1.213, allocations: 0 / 1.367 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004716/1.213, allocations: 179 kB / 1.367 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/1.213, allocations: 2 kB / 1.367 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/1.213, allocations: 7.953 kB / 1.367 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/1.214, allocations: 112.8 kB / 1.367 GB, free: 15.74 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.214, allocations: 1.219 kB / 1.367 GB, free: 15.74 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.102e-06/1.214, allocations: 0 / 1.367 GB, free: 15.74 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.31e-06/1.214, allocations: 0 / 1.367 GB, free: 15.74 MB / 1.076 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.0003625/1.214, allocations: 355 kB / 1.367 GB, free: 15.37 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/1.214, allocations: 9.312 kB / 1.367 GB, free: 15.37 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006312/1.215, allocations: 38.23 kB / 1.367 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/1.215, allocations: 166.9 kB / 1.367 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/1.215, allocations: 7.562 kB / 1.367 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/1.215, allocations: 6.109 kB / 1.367 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/1.215, allocations: 47.81 kB / 1.367 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/1.215, allocations: 4.547 kB / 1.368 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/1.215, allocations: 0 / 1.368 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/1.215, allocations: 1.188 kB / 1.368 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/1.215, allocations: 19.61 kB / 1.368 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/1.215, allocations: 252.3 kB / 1.368 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.519e-05/1.216, allocations: 24.38 kB / 1.368 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/1.216, allocations: 10.53 kB / 1.368 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.283e-06/1.216, allocations: 0 / 1.368 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/1.216, allocations: 36.3 kB / 1.368 GB, free: 14.76 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.216, allocations: 0 / 1.368 GB, free: 14.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001624/1.216, allocations: 44.72 kB / 1.368 GB, free: 14.72 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/1.216, allocations: 52.06 kB / 1.368 GB, free: 14.66 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/1.216, allocations: 110.1 kB / 1.368 GB, free: 14.56 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/1.216, allocations: 29.7 kB / 1.368 GB, free: 14.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/1.216, allocations: 89.97 kB / 1.368 GB, free: 14.43 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.298e-06/1.216, allocations: 9.047 kB / 1.368 GB, free: 14.43 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/1.216, allocations: 18.7 kB / 1.368 GB, free: 14.41 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.216, allocations: 324.2 kB / 1.368 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.984e-05/1.216, allocations: 9.547 kB / 1.368 GB, free: 14.09 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.049e-05/1.216, allocations: 10.09 kB / 1.368 GB, free: 14.09 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.103e-05/1.216, allocations: 24.78 kB / 1.369 GB, free: 14.07 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.216, allocations: 3.938 kB / 1.369 GB, free: 14.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000205/1.217, allocations: 61.47 kB / 1.369 GB, free: 14.03 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/1.217, allocations: 5.219 kB / 1.369 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.217, allocations: 0.7969 kB / 1.369 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/1.217, allocations: 1.438 kB / 1.369 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/1.217, allocations: 8.703 kB / 1.369 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/1.217, allocations: 1.438 kB / 1.369 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/1.217, allocations: 7.766 kB / 1.369 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/1.217, allocations: 9.641 kB / 1.369 GB, free: 14.02 MB / 1.076 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.505e-05/1.217, allocations: 116.1 kB / 1.369 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/1.217, allocations: 5.594 kB / 1.369 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/1.217, allocations: 4.969 kB / 1.369 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.217, allocations: 1.375 kB / 1.369 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/1.217, allocations: 0 / 1.369 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/1.217, allocations: 0.9375 kB / 1.369 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/1.217, allocations: 157.6 kB / 1.369 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.217, allocations: 0 / 1.369 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/1.217, allocations: 5.125 kB / 1.369 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/1.217, allocations: 4 kB / 1.369 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/1.217, allocations: 1.438 kB / 1.369 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.217, allocations: 0 / 1.369 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.217, allocations: 5.109 kB / 1.369 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/1.217, allocations: 135.6 kB / 1.369 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/1.217, allocations: 81.03 kB / 1.369 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/1.217, allocations: 1.281 kB / 1.369 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/1.218, allocations: 5.438 kB / 1.369 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/1.218, allocations: 3.766 kB / 1.369 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/1.218, allocations: 3.938 kB / 1.369 GB, free: 13.45 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.015e-05/1.218, allocations: 93.94 kB / 1.369 GB, free: 13.37 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/1.218, allocations: 3.938 kB / 1.369 GB, free: 13.36 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000265/1.218, allocations: 17.92 kB / 1.369 GB, free: 13.36 MB / 1.076 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.0002073/1.218, allocations: 119.8 kB / 1.369 GB, free: 13.26 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001414/1.218, allocations: 14.31 kB / 1.369 GB, free: 13.26 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.218, allocations: 0 / 1.369 GB, free: 13.26 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-05/1.218, allocations: 6.438 kB / 1.369 GB, free: 13.26 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/1.219, allocations: 12.69 kB / 1.369 GB, free: 13.26 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/1.219, allocations: 123.5 kB / 1.369 GB, free: 13.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/1.219, allocations: 0.6786 MB / 1.37 GB, free: 12.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.086e-05/1.219, allocations: 10.78 kB / 1.37 GB, free: 12.44 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/1.219, allocations: 12.45 kB / 1.37 GB, free: 12.43 MB / 1.076 GB Notification: Performance of SimCode: time 5.21e-07/1.219, allocations: 0 / 1.37 GB, free: 12.43 MB / 1.076 GB Notification: Performance of Templates: time 0.003304/1.223, allocations: 0.7347 MB / 1.371 GB, free: 12.35 MB / 1.076 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches