Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001534, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 195.9 kB / 16.53 MB, free: 6.699 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.653/2.653, allocations: 390.2 MB / 0.6646 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8084/0.8098, allocations: 140.4 MB / 0.9496 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00239/0.8123, allocations: 1.403 MB / 0.9509 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008884/0.8132, allocations: 0.5915 MB / 0.9515 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.8132, allocations: 1.312 kB / 0.9515 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.8133, allocations: 3.938 kB / 0.9515 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.99e-05/0.8133, allocations: 9.156 kB / 0.9515 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.8137, allocations: 95.5 kB / 0.9516 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.028e-05/0.8138, allocations: 22.72 kB / 0.9516 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.8139, allocations: 7.828 kB / 0.9517 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.8139, allocations: 11.72 kB / 0.9517 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.685e-05/0.814, allocations: 11.91 kB / 0.9517 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.814, allocations: 1.531 kB / 0.9517 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.8143, allocations: 138.9 kB / 0.9518 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.8143, allocations: 13.44 kB / 0.9518 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.8143, allocations: 13.75 kB / 0.9518 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.8145, allocations: 104.9 kB / 0.9519 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8145, allocations: 1.094 kB / 0.9519 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8145, allocations: 0 / 0.9519 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.8146, allocations: 0 / 0.9519 GB, free: 7.227 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004202/0.815, allocations: 363.3 kB / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.815, allocations: 8.719 kB / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004386/0.8155, allocations: 29.53 kB / 0.9523 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.199e-05/0.8156, allocations: 173.8 kB / 0.9525 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.8156, allocations: 384 / 0.9525 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.8156, allocations: 1.625 kB / 0.9525 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.8159, allocations: 62.48 kB / 0.9525 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.8159, allocations: 1.531 kB / 0.9525 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.8159, allocations: 7.938 kB / 0.9526 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.8159, allocations: 3.938 kB / 0.9526 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.8162, allocations: 51.69 kB / 0.9526 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.8166, allocations: 272 kB / 0.9529 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.8168, allocations: 64.66 kB / 0.9529 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.817, allocations: 31.36 kB / 0.953 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.817, allocations: 0 / 0.953 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.817, allocations: 40.31 kB / 0.953 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.817, allocations: 0 / 0.953 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0005318/0.8176, allocations: 111.1 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.8176, allocations: 55.53 kB / 0.9532 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/0.8177, allocations: 98.84 kB / 0.9533 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.8177, allocations: 30.89 kB / 0.9533 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.8178, allocations: 80.14 kB / 0.9534 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.8178, allocations: 6.703 kB / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.8178, allocations: 16.33 kB / 0.9534 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.03e-05/0.8179, allocations: 316.1 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.818, allocations: 29.56 kB / 0.9537 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.8182, allocations: 26.72 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.8184, allocations: 55.34 kB / 0.9538 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.8184, allocations: 5.125 kB / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002928/0.8187, allocations: 89.75 kB / 0.9539 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.8187, allocations: 5 kB / 0.9539 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.8187, allocations: 0 / 0.9539 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.8188, allocations: 1.188 kB / 0.9539 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.8189, allocations: 15.89 kB / 0.9539 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.8189, allocations: 7.969 kB / 0.9539 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.654e-05/0.819, allocations: 10.48 kB / 0.9539 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.819, allocations: 3.984 kB / 0.9539 GB, free: 5.273 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 5.979e-05/0.8191, allocations: 116.6 kB / 0.954 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.8191, allocations: 3.906 kB / 0.954 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.8192, allocations: 8.688 kB / 0.954 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.8192, allocations: 9.484 kB / 0.9541 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.8192, allocations: 0 / 0.9541 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.8192, allocations: 0 / 0.9541 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.8193, allocations: 168.7 kB / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8193, allocations: 0 / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.8195, allocations: 15.72 kB / 0.9542 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.8195, allocations: 0 / 0.9542 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.8195, allocations: 1.125 kB / 0.9542 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.8195, allocations: 4 kB / 0.9542 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8195, allocations: 1.312 kB / 0.9542 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.8198, allocations: 187.7 kB / 0.9544 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.8199, allocations: 82.55 kB / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.8199, allocations: 1.625 kB / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.82, allocations: 11.77 kB / 0.9545 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.8201, allocations: 2.188 kB / 0.9545 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.8201, allocations: 1.062 kB / 0.9545 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.992e-05/0.8201, allocations: 91.14 kB / 0.9546 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8201, allocations: 0 / 0.9546 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002541/0.8204, allocations: 13.62 kB / 0.9546 GB, free: 4.551 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.0001666/0.8205, allocations: 111.7 kB / 0.9547 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003309/0.8209, allocations: 62.66 kB / 0.9548 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8209, allocations: 0 / 0.9548 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.821, allocations: 32 kB / 0.9548 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.8214, allocations: 8.562 kB / 0.9548 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.8219, allocations: 141.6 kB / 0.9549 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.822, allocations: 0.6803 MB / 0.9556 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.837e-05/0.8221, allocations: 15.69 kB / 0.9556 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.8221, allocations: 9.656 kB / 0.9556 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8221, allocations: 3.938 kB / 0.9556 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of Templates: time 0.003221/0.8253, allocations: 0.7817 MB / 0.9564 GB, free: 3.137 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches