Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, 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.007203/0.007204, allocations: 168.4 kB / 16.26 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.547/1.547, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.52/2.52, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003799, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9145/0.9149, allocations: 142.4 MB / 0.955 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001361/0.9163, allocations: 1.018 MB / 0.956 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008788/0.9172, allocations: 0.5658 MB / 0.9566 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.374e-05/0.9172, allocations: 4 kB / 0.9566 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/0.9173, allocations: 5 kB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.9173, allocations: 1.062 kB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.9177, allocations: 83.09 kB / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.343e-05/0.9177, allocations: 16.62 kB / 0.9567 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.051e-05/0.9178, allocations: 1.094 kB / 0.9567 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.309e-05/0.9178, allocations: 16.42 kB / 0.9567 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.406e-05/0.9179, allocations: 3.125 kB / 0.9567 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.9179, allocations: 4.969 kB / 0.9567 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.9182, allocations: 153.1 kB / 0.9569 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.869e-06/0.9182, allocations: 0 / 0.9569 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.9183, allocations: 34.27 kB / 0.9569 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.9185, allocations: 89.45 kB / 0.957 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9185, allocations: 0 / 0.957 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9185, allocations: 0 / 0.957 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.9185, allocations: 4.969 kB / 0.957 GB, free: 6.188 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003356/0.9188, allocations: 345.2 kB / 0.9573 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.9189, allocations: 12.72 kB / 0.9573 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004235/0.9193, allocations: 25.09 kB / 0.9573 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.535e-05/0.9194, allocations: 181.3 kB / 0.9575 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.9194, allocations: 1.719 kB / 0.9575 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.9194, allocations: 4.359 kB / 0.9575 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.9196, allocations: 41.95 kB / 0.9576 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.9196, allocations: 5.219 kB / 0.9576 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.9196, allocations: 3.938 kB / 0.9576 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.9197, allocations: 1.406 kB / 0.9576 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.9198, allocations: 22.94 kB / 0.9576 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.9199, allocations: 162.1 kB / 0.9578 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.9201, allocations: 49.45 kB / 0.9578 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.673e-05/0.9202, allocations: 18.34 kB / 0.9578 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.9202, allocations: 1.781 kB / 0.9578 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.9202, allocations: 30.56 kB / 0.9578 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.9202, allocations: 0 / 0.9578 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003041/0.9205, allocations: 76.97 kB / 0.9579 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.9206, allocations: 53.19 kB / 0.958 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.047e-05/0.9207, allocations: 93.42 kB / 0.9581 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.9207, allocations: 29.64 kB / 0.9581 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.951e-05/0.9207, allocations: 80.14 kB / 0.9582 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.9207, allocations: 9.688 kB / 0.9582 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.9208, allocations: 13.7 kB / 0.9582 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.145e-05/0.9208, allocations: 316.8 kB / 0.9585 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.184e-05/0.9209, allocations: 13.36 kB / 0.9585 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.926e-05/0.9209, allocations: 5.906 kB / 0.9585 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.9211, allocations: 34.58 kB / 0.9585 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.9211, allocations: 8 kB / 0.9586 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001534/0.9212, allocations: 55.52 kB / 0.9586 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.9213, allocations: 5.812 kB / 0.9586 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.9213, allocations: 3.938 kB / 0.9586 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.9213, allocations: 1.344 kB / 0.9586 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.9214, allocations: 11.89 kB / 0.9586 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.9214, allocations: 1.562 kB / 0.9586 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.731e-05/0.9215, allocations: 13 kB / 0.9586 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.9215, allocations: 1.188 kB / 0.9586 GB, free: 4.438 MB / 0.7169 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 (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 prepare postOptimizeDAE: time 6.458e-05/0.9215, allocations: 115.2 kB / 0.9587 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-06/0.9216, allocations: 1.438 kB / 0.9588 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.109e-05/0.9216, allocations: 8.156 kB / 0.9588 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.9216, allocations: 0 / 0.9588 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.9216, allocations: 1.125 kB / 0.9588 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.9216, allocations: 7.938 kB / 0.9588 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.584e-05/0.9217, allocations: 158.2 kB / 0.9589 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9217, allocations: 0 / 0.9589 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/0.9218, allocations: 9.422 kB / 0.9589 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.9218, allocations: 0 / 0.9589 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.9218, allocations: 5.188 kB / 0.9589 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.9218, allocations: 0 / 0.9589 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.9218, allocations: 1.188 kB / 0.9589 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.922, allocations: 91.41 kB / 0.959 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.9221, allocations: 82.66 kB / 0.9591 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.9221, allocations: 3.938 kB / 0.9591 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.543e-05/0.9222, allocations: 2.688 kB / 0.9591 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.9222, allocations: 1.375 kB / 0.9591 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.9222, allocations: 0 / 0.9591 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.504e-05/0.9222, allocations: 91.25 kB / 0.9592 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9222, allocations: 4 kB / 0.9592 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002022/0.9224, allocations: 10.16 kB / 0.9592 GB, free: 3.812 MB / 0.7169 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.0001587/0.9226, allocations: 111.9 kB / 0.9593 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.9228, allocations: 27.94 kB / 0.9593 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9228, allocations: 0 / 0.9593 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.366e-05/0.9229, allocations: 28.58 kB / 0.9594 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.9231, allocations: 7.172 kB / 0.9594 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.9234, allocations: 128.5 kB / 0.9595 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.289e-05/0.9235, allocations: 0.6719 MB / 0.9602 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.721e-05/0.9236, allocations: 16.19 kB / 0.9602 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.9236, allocations: 12.8 kB / 0.9602 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.9237, allocations: 0 / 0.9602 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of Templates: time 0.003121/0.9268, allocations: 0.7039 MB / 0.9609 GB, free: 2.465 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches