Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, 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.002311/0.002311, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.28 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3137, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002577/0.3163, allocations: 1.405 MB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004241/0.3167, allocations: 207.4 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.3168, allocations: 0 / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/0.3168, allocations: 3.938 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.137e-05/0.3169, allocations: 7.938 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.3171, allocations: 23.89 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.836e-05/0.3172, allocations: 31.86 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.024e-05/0.3172, allocations: 0 / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.691e-05/0.3173, allocations: 8 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.96e-05/0.3173, allocations: 15.92 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.3174, allocations: 8 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.529e-05/0.3174, allocations: 23.98 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.3175, allocations: 3.984 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.3175, allocations: 15.92 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.3176, allocations: 28.25 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3176, allocations: 0 / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3176, allocations: 0 / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.3176, allocations: 0 / 1.07 GB, free: 8.609 MB / 0.8262 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.0004084/0.318, allocations: 347.3 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.3181, allocations: 12.03 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.3182, allocations: 4.938 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.3183, allocations: 172.3 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.3183, allocations: 384 / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.3183, allocations: 4.375 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3185, allocations: 50.23 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.3185, allocations: 192 / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3186, allocations: 3.938 kB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3186, allocations: 0 / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.3187, allocations: 35.95 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.3191, allocations: 248.9 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3192, allocations: 42.44 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.317e-05/0.3193, allocations: 24.89 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.3193, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.3194, allocations: 38.56 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3194, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003545/0.3197, allocations: 77.55 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.3198, allocations: 59.47 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.425e-05/0.3199, allocations: 101.9 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.3199, allocations: 25.7 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.32, allocations: 84.12 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.32, allocations: 7.906 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.32, allocations: 13.72 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3201, allocations: 314.8 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.3202, allocations: 19.98 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.695e-05/0.3203, allocations: 19.97 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3205, allocations: 36.83 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3205, allocations: 0 / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002029/0.3207, allocations: 73.53 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3207, allocations: 8.094 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3207, allocations: 4 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.3207, allocations: 0 / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.3208, allocations: 7.984 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3208, allocations: 7.938 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/0.3209, allocations: 4 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.3209, allocations: 0 / 1.072 GB, free: 6.57 MB / 0.8262 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 7.167e-05/0.321, allocations: 115.5 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.321, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.3213, allocations: 80.95 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.3213, allocations: 4 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3213, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3213, allocations: 3.984 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.3215, allocations: 169.5 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3215, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.106e-05/0.3216, allocations: 11.98 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3216, allocations: 4 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.3216, allocations: 0 / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3216, allocations: 4 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3216, allocations: 4 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.3218, allocations: 167.4 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.3219, allocations: 77.11 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.3219, allocations: 7.984 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.322, allocations: 4 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.322, allocations: 4 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.3221, allocations: 3.984 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.3221, allocations: 83.28 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3221, allocations: 0 / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002213/0.3223, allocations: 4 kB / 1.072 GB, free: 5.738 MB / 0.8262 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 (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 Backend phase and start with SimCode phase: time 0.0001016/0.3224, allocations: 99.72 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.3226, allocations: 43.95 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3227, allocations: 0 / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.121e-05/0.3228, allocations: 19.98 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.323, allocations: 12.06 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.3234, allocations: 138.5 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.3236, allocations: 0.6729 MB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.3237, allocations: 7.984 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.3237, allocations: 7.438 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of SimCode: time 3.707e-06/0.3237, allocations: 0 / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.00259/0.3263, allocations: 0.4903 MB / 1.074 GB, free: 4.191 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches