Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001502/0.001502, allocations: 108.3 kB / 16.41 MB, free: 6.512 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.001449/0.001449, allocations: 192 kB / 17.34 MB, free: 5.738 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.425/2.425, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001878, allocations: 71.88 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8918/0.8937, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002461/0.8962, allocations: 1.28 MB / 1.169 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1771/1.073, allocations: 147.6 MB / 1.313 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/1.073, allocations: 4 kB / 1.313 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/1.073, allocations: 3.938 kB / 1.313 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.887e-05/1.074, allocations: 7.922 kB / 1.313 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005715/1.074, allocations: 111.5 kB / 1.313 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.683e-05/1.074, allocations: 23.86 kB / 1.313 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/1.074, allocations: 0 / 1.313 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.107e-05/1.074, allocations: 8 kB / 1.313 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.68e-05/1.074, allocations: 11.92 kB / 1.313 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/1.074, allocations: 0 / 1.313 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004845/1.075, allocations: 175.7 kB / 1.313 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/1.075, allocations: 0 / 1.313 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/1.075, allocations: 15.94 kB / 1.313 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000287/1.075, allocations: 116.2 kB / 1.313 GB, free: 13.83 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.075, allocations: 0 / 1.313 GB, free: 13.83 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.21e-07/1.075, allocations: 0 / 1.313 GB, free: 13.83 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.43e-06/1.075, allocations: 0 / 1.313 GB, free: 13.83 MB / 1.045 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.0004362/1.076, allocations: 347.2 kB / 1.314 GB, free: 13.45 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.076, allocations: 12.62 kB / 1.314 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005183/1.076, allocations: 40.84 kB / 1.314 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/1.076, allocations: 164.4 kB / 1.314 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/1.076, allocations: 3.938 kB / 1.314 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/1.076, allocations: 4 kB / 1.314 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/1.077, allocations: 49.66 kB / 1.314 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/1.077, allocations: 0 / 1.314 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/1.077, allocations: 0 / 1.314 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/1.077, allocations: 0 / 1.314 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/1.077, allocations: 27.91 kB / 1.314 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/1.077, allocations: 252.9 kB / 1.314 GB, free: 12.81 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.351e-05/1.077, allocations: 22.58 kB / 1.314 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/1.077, allocations: 16.91 kB / 1.314 GB, free: 12.76 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/1.077, allocations: 4 kB / 1.314 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/1.077, allocations: 34.56 kB / 1.314 GB, free: 12.71 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/1.077, allocations: 0 / 1.314 GB, free: 12.71 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001558/1.077, allocations: 41.64 kB / 1.314 GB, free: 12.66 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/1.078, allocations: 55.41 kB / 1.314 GB, free: 12.6 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/1.078, allocations: 109.8 kB / 1.314 GB, free: 12.48 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/1.078, allocations: 29.69 kB / 1.314 GB, free: 12.45 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/1.078, allocations: 92.16 kB / 1.314 GB, free: 12.35 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/1.078, allocations: 15.89 kB / 1.314 GB, free: 12.34 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/1.078, allocations: 17.7 kB / 1.314 GB, free: 12.31 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.078, allocations: 314.8 kB / 1.315 GB, free: 12 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.507e-05/1.078, allocations: 11.98 kB / 1.315 GB, free: 11.98 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.88e-05/1.078, allocations: 11.98 kB / 1.315 GB, free: 11.97 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.59e-05/1.078, allocations: 28.78 kB / 1.315 GB, free: 11.94 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.078, allocations: 0 / 1.315 GB, free: 11.94 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001954/1.078, allocations: 57.67 kB / 1.315 GB, free: 11.88 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.078, allocations: 4 kB / 1.315 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/1.078, allocations: 0 / 1.315 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/1.079, allocations: 4 kB / 1.315 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/1.079, allocations: 7.984 kB / 1.315 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/1.079, allocations: 4 kB / 1.315 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/1.079, allocations: 15.92 kB / 1.315 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/1.079, allocations: 0 / 1.315 GB, free: 11.84 MB / 1.045 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 8.106e-05/1.079, allocations: 105.8 kB / 1.315 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/1.079, allocations: 4 kB / 1.315 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/1.079, allocations: 7.125 kB / 1.315 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/1.079, allocations: 0 / 1.315 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/1.079, allocations: 0 / 1.315 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/1.079, allocations: 11.92 kB / 1.315 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/1.079, allocations: 161.6 kB / 1.315 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.079, allocations: 0 / 1.315 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/1.079, allocations: 4 kB / 1.315 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.079, allocations: 0 / 1.315 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/1.079, allocations: 0 / 1.315 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/1.079, allocations: 0 / 1.315 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.079, allocations: 0 / 1.315 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/1.079, allocations: 143.5 kB / 1.315 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/1.079, allocations: 77.11 kB / 1.315 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/1.079, allocations: 0 / 1.315 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.216e-05/1.08, allocations: 4 kB / 1.315 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/1.08, allocations: 0 / 1.315 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/1.08, allocations: 7.875 kB / 1.315 GB, free: 11.23 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001038/1.08, allocations: 95.58 kB / 1.316 GB, free: 11.14 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.7e-07/1.08, allocations: 0 / 1.316 GB, free: 11.14 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002415/1.08, allocations: 23.95 kB / 1.316 GB, free: 11.11 MB / 1.045 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.0001958/1.08, allocations: 107.2 kB / 1.316 GB, free: 11 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001462/1.08, allocations: 23.97 kB / 1.316 GB, free: 10.98 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.08, allocations: 0 / 1.316 GB, free: 10.98 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.526e-05/1.08, allocations: 4 kB / 1.316 GB, free: 10.97 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/1.081, allocations: 23.94 kB / 1.316 GB, free: 10.95 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/1.081, allocations: 119.2 kB / 1.316 GB, free: 10.81 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/1.081, allocations: 0.6729 MB / 1.316 GB, free: 10.11 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.693e-05/1.081, allocations: 8 kB / 1.316 GB, free: 10.1 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/1.081, allocations: 11.42 kB / 1.316 GB, free: 10.09 MB / 1.045 GB Notification: Performance of SimCode: time 2.31e-07/1.081, allocations: 0 / 1.316 GB, free: 10.09 MB / 1.045 GB Notification: Performance of Templates: time 0.003223/1.085, allocations: 0.7372 MB / 1.317 GB, free: 9.363 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches