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.001076/0.001076, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001376/0.001376, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.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.411/2.411, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004901, allocations: 8 kB / 0.8153 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7314/0.7319, allocations: 142.4 MB / 0.9544 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001297/0.7332, allocations: 1 MB / 0.9554 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1583/0.8915, allocations: 134.1 MB / 1.086 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.8916, allocations: 0 / 1.086 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.8916, allocations: 0 / 1.086 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.017e-05/0.8917, allocations: 11.94 kB / 1.086 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.8922, allocations: 99.55 kB / 1.086 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.534e-05/0.8922, allocations: 23.84 kB / 1.086 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.8923, allocations: 3.938 kB / 1.086 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.601e-05/0.8923, allocations: 4 kB / 1.086 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.696e-05/0.8924, allocations: 11.94 kB / 1.086 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.8924, allocations: 0 / 1.086 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000449/0.8929, allocations: 175.7 kB / 1.087 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.8929, allocations: 0 / 1.087 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.8929, allocations: 33.64 kB / 1.087 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.8931, allocations: 77.83 kB / 1.087 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8931, allocations: 0 / 1.087 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8931, allocations: 0 / 1.087 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.8931, allocations: 0 / 1.087 GB, free: 7.66 MB / 0.8419 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.0003407/0.8935, allocations: 351.2 kB / 1.087 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.8935, allocations: 8.031 kB / 1.087 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000611/0.8942, allocations: 39.95 kB / 1.087 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.8943, allocations: 159.1 kB / 1.087 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.8943, allocations: 0 / 1.087 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.8943, allocations: 0 / 1.087 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.8945, allocations: 49.66 kB / 1.087 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8946, allocations: 0 / 1.087 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.8946, allocations: 7.953 kB / 1.087 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.8946, allocations: 4 kB / 1.087 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.8947, allocations: 23.91 kB / 1.087 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.8951, allocations: 245 kB / 1.088 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.963e-05/0.8952, allocations: 22.58 kB / 1.088 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.8952, allocations: 12.92 kB / 1.088 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.8952, allocations: 7.938 kB / 1.088 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.8953, allocations: 30.56 kB / 1.088 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.8953, allocations: 0 / 1.088 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001615/0.8954, allocations: 49.55 kB / 1.088 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.8955, allocations: 51.41 kB / 1.088 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.8956, allocations: 114 kB / 1.088 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.8956, allocations: 29.7 kB / 1.088 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.8957, allocations: 96.05 kB / 1.088 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.163e-06/0.8957, allocations: 3.906 kB / 1.088 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.8957, allocations: 0 / 1.088 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.8958, allocations: 310.8 kB / 1.088 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.039e-05/0.8959, allocations: 11.98 kB / 1.088 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.364e-05/0.8959, allocations: 15.98 kB / 1.088 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.706e-05/0.896, allocations: 8 kB / 1.088 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.896, allocations: 3.938 kB / 1.088 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001816/0.8962, allocations: 65.59 kB / 1.088 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.8962, allocations: 7.953 kB / 1.088 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.8963, allocations: 3.938 kB / 1.088 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.8963, allocations: 0 / 1.088 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.8964, allocations: 15.98 kB / 1.088 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.8964, allocations: 0 / 1.088 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.8965, allocations: 4 kB / 1.088 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.8966, allocations: 3.984 kB / 1.088 GB, free: 5.723 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.972e-05/0.8966, allocations: 113.8 kB / 1.089 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.8967, allocations: 3.906 kB / 1.089 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.8967, allocations: 7.078 kB / 1.089 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8967, allocations: 0 / 1.089 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.8967, allocations: 8 kB / 1.089 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8967, allocations: 0 / 1.089 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.8969, allocations: 149.7 kB / 1.089 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.8969, allocations: 8 kB / 1.089 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.897, allocations: 3.984 kB / 1.089 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.897, allocations: 0 / 1.089 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.897, allocations: 4 kB / 1.089 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.897, allocations: 3.953 kB / 1.089 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.897, allocations: 0 / 1.089 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.8971, allocations: 135.5 kB / 1.089 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.8972, allocations: 85.09 kB / 1.089 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.8972, allocations: 0 / 1.089 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.8973, allocations: 4 kB / 1.089 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.8974, allocations: 7.938 kB / 1.089 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.8974, allocations: 4 kB / 1.089 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.399e-05/0.8975, allocations: 87.27 kB / 1.089 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8975, allocations: 4.031 kB / 1.089 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002676/0.8977, allocations: 16 kB / 1.089 GB, free: 4.996 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002039/0.898, allocations: 115 kB / 1.089 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.8981, allocations: 19.92 kB / 1.089 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8981, allocations: 0 / 1.089 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.676e-05/0.8981, allocations: 8 kB / 1.089 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.8985, allocations: 14.25 kB / 1.089 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.8988, allocations: 134.5 kB / 1.089 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.8991, allocations: 0.6731 MB / 1.09 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.137e-05/0.8991, allocations: 8.5 kB / 1.09 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.8992, allocations: 15.42 kB / 1.09 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.8992, allocations: 0 / 1.09 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of Templates: time 0.003328/0.9025, allocations: 0.6998 MB / 1.091 GB, free: 3.262 MB / 0.8419 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 -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/jenkins/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