Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_9_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_9_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.001689/0.00169, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001743/0.001743, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.214/2.214, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 65.89 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2642, allocations: 140.4 MB / 0.9511 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00275/0.267, allocations: 1.298 MB / 0.9524 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6619/0.9289, allocations: 147.6 MB / 1.097 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.929, allocations: 1.281 kB / 1.097 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.9291, allocations: 2.156 kB / 1.097 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.874e-05/0.9291, allocations: 7.516 kB / 1.097 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005064/0.9296, allocations: 117.9 kB / 1.097 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.48e-05/0.9297, allocations: 22.02 kB / 1.097 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.9298, allocations: 3.594 kB / 1.097 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.302e-05/0.9298, allocations: 10.84 kB / 1.097 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.51e-05/0.9299, allocations: 4.984 kB / 1.097 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.9299, allocations: 1.984 kB / 1.097 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004299/0.9303, allocations: 177.7 kB / 1.097 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.9303, allocations: 4.469 kB / 1.097 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.9304, allocations: 7.109 kB / 1.097 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.9306, allocations: 112.6 kB / 1.097 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9306, allocations: 1.062 kB / 1.097 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9306, allocations: 0 / 1.097 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.9306, allocations: 1.094 kB / 1.097 GB, free: 6.066 MB / 0.8575 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.0005115/0.9312, allocations: 356 kB / 1.097 GB, free: 21.7 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.9312, allocations: 13.78 kB / 1.097 GB, free: 21.69 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005616/0.9318, allocations: 34.98 kB / 1.097 GB, free: 21.69 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.9319, allocations: 166.4 kB / 1.098 GB, free: 21.5 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.9319, allocations: 4.75 kB / 1.098 GB, free: 21.49 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.9319, allocations: 5.953 kB / 1.098 GB, free: 21.49 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.9321, allocations: 50.31 kB / 1.098 GB, free: 21.45 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.9322, allocations: 0.9688 kB / 1.098 GB, free: 21.45 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.9322, allocations: 0 / 1.098 GB, free: 21.45 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.9322, allocations: 0.9688 kB / 1.098 GB, free: 21.45 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.9323, allocations: 20.02 kB / 1.098 GB, free: 21.45 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.9327, allocations: 258.3 kB / 1.098 GB, free: 21.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 4.892e-05/0.9327, allocations: 25.59 kB / 1.098 GB, free: 21.16 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.9328, allocations: 9.688 kB / 1.098 GB, free: 21.15 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-06/0.9328, allocations: 2.875 kB / 1.098 GB, free: 21.15 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.9328, allocations: 35.73 kB / 1.098 GB, free: 21.11 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.9328, allocations: 0.7188 kB / 1.098 GB, free: 21.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2): time 0.0001456/0.933, allocations: 43.56 kB / 1.098 GB, free: 21.07 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.933, allocations: 55.62 kB / 1.098 GB, free: 21.01 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.9332, allocations: 108.6 kB / 1.098 GB, free: 20.91 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.9332, allocations: 26.52 kB / 1.098 GB, free: 20.88 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.9332, allocations: 82.69 kB / 1.098 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.815e-06/0.9332, allocations: 9.375 kB / 1.098 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.9333, allocations: 22.55 kB / 1.098 GB, free: 20.78 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.9334, allocations: 320.4 kB / 1.099 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.9335, allocations: 9.328 kB / 1.099 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.857e-05/0.9335, allocations: 13.27 kB / 1.099 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.675e-05/0.9336, allocations: 24.52 kB / 1.099 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9336, allocations: 0 / 1.099 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002086/0.9339, allocations: 60.92 kB / 1.099 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.9339, allocations: 5.719 kB / 1.099 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.9339, allocations: 0.9375 kB / 1.099 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.9339, allocations: 4.922 kB / 1.099 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.934, allocations: 9.516 kB / 1.099 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.934, allocations: 0 / 1.099 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.9342, allocations: 11.41 kB / 1.099 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.9342, allocations: 7.391 kB / 1.099 GB, free: 20.41 MB / 0.8731 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.958e-05/0.9343, allocations: 113.5 kB / 1.099 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.9343, allocations: 1.609 kB / 1.099 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.9343, allocations: 8.453 kB / 1.099 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.9344, allocations: 0.9688 kB / 1.099 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.9344, allocations: 1.203 kB / 1.099 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.9344, allocations: 1.547 kB / 1.099 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.9345, allocations: 156.6 kB / 1.099 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9345, allocations: 0 / 1.099 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.9346, allocations: 5.797 kB / 1.099 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.9346, allocations: 4.969 kB / 1.099 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.9346, allocations: 5.469 kB / 1.099 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.9346, allocations: 0.9375 kB / 1.099 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.9346, allocations: 0.6094 kB / 1.099 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.9347, allocations: 137.2 kB / 1.099 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.9348, allocations: 83.92 kB / 1.099 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.9348, allocations: 1.859 kB / 1.099 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.9349, allocations: 8.312 kB / 1.099 GB, free: 19.85 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.9349, allocations: 1.609 kB / 1.099 GB, free: 19.85 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.9349, allocations: 1.766 kB / 1.099 GB, free: 19.85 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.819e-05/0.935, allocations: 95 kB / 1.099 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.935, allocations: 0.9688 kB / 1.099 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002652/0.9353, allocations: 15.22 kB / 1.099 GB, free: 19.77 MB / 0.8731 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.0001885/0.9355, allocations: 110.8 kB / 1.099 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.9356, allocations: 22.75 kB / 1.099 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9356, allocations: 1.094 kB / 1.099 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.9356, allocations: 5.047 kB / 1.099 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.936, allocations: 12.22 kB / 1.099 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.9362, allocations: 133.1 kB / 1.1 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.9365, allocations: 0.6748 MB / 1.1 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.131e-05/0.9365, allocations: 12.17 kB / 1.1 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.9366, allocations: 10.16 kB / 1.1 GB, free: 18.85 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.9366, allocations: 0 / 1.1 GB, free: 18.85 MB / 0.8731 GB Notification: Performance of Templates: time 0.003252/0.9398, allocations: 0.7355 MB / 1.101 GB, free: 18.78 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches