Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_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_latest_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: 109.7 kB / 16.37 MB, free: 6.477 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.00108/0.00108, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.403/2.403, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 64.81 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3073, allocations: 153 MB / 1.027 GB, free: 2.113 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00228/0.3096, allocations: 1.282 MB / 1.028 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6874/0.9971, allocations: 147.6 MB / 1.172 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.9971, allocations: 0 / 1.172 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.253e-05/0.9973, allocations: 3.938 kB / 1.172 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.998e-05/0.9973, allocations: 8.984 kB / 1.172 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.9978, allocations: 112.8 kB / 1.172 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.036e-05/0.9978, allocations: 22.92 kB / 1.172 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.9979, allocations: 6.5 kB / 1.172 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.628e-05/0.9979, allocations: 7.688 kB / 1.172 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.007e-05/0.998, allocations: 5.297 kB / 1.172 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.998, allocations: 1 kB / 1.172 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004198/0.9984, allocations: 174.2 kB / 1.172 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.9984, allocations: 1.344 kB / 1.172 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.9985, allocations: 12.05 kB / 1.173 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.9987, allocations: 117.6 kB / 1.173 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9987, allocations: 0 / 1.173 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9987, allocations: 1.031 kB / 1.173 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.9987, allocations: 4 kB / 1.173 GB, free: 11.61 MB / 0.8887 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.0003129/0.999, allocations: 342.5 kB / 1.173 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.9991, allocations: 9.188 kB / 1.173 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005349/0.9996, allocations: 35.78 kB / 1.173 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.9997, allocations: 172.7 kB / 1.173 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.9998, allocations: 3.938 kB / 1.173 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.9998, allocations: 5.469 kB / 1.173 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/1, allocations: 44.95 kB / 1.173 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/1, allocations: 0 / 1.173 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/1, allocations: 3.984 kB / 1.173 GB, free: 11 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/1, allocations: 1.469 kB / 1.173 GB, free: 11 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/1, allocations: 28.98 kB / 1.173 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/1, allocations: 251.5 kB / 1.173 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.949e-05/1.001, allocations: 25.02 kB / 1.174 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/1.001, allocations: 8.609 kB / 1.174 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/1.001, allocations: 0 / 1.174 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/1.001, allocations: 31.69 kB / 1.174 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/1.001, allocations: 0 / 1.174 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001393/1.001, allocations: 49.67 kB / 1.174 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/1.001, allocations: 53.98 kB / 1.174 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/1.001, allocations: 113.5 kB / 1.174 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/1.001, allocations: 25.7 kB / 1.174 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/1.001, allocations: 85.33 kB / 1.174 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.656e-06/1.001, allocations: 5.031 kB / 1.174 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/1.001, allocations: 22.56 kB / 1.174 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.001, allocations: 322.4 kB / 1.174 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/1.001, allocations: 7.641 kB / 1.174 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.548e-05/1.001, allocations: 15.12 kB / 1.174 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.225e-05/1.001, allocations: 24.17 kB / 1.174 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.001, allocations: 1.25 kB / 1.174 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001837/1.002, allocations: 63.89 kB / 1.174 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/1.002, allocations: 5.188 kB / 1.174 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.002, allocations: 3.594 kB / 1.174 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/1.002, allocations: 0 / 1.174 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/1.002, allocations: 10.45 kB / 1.174 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/1.002, allocations: 0 / 1.174 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/1.002, allocations: 8 kB / 1.174 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/1.002, allocations: 11.47 kB / 1.174 GB, free: 9.902 MB / 0.8887 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.458e-05/1.002, allocations: 115.9 kB / 1.174 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/1.002, allocations: 1.219 kB / 1.174 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/1.002, allocations: 4.094 kB / 1.174 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.002, allocations: 0 / 1.174 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.002, allocations: 1.125 kB / 1.174 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.002, allocations: 1.781 kB / 1.174 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/1.002, allocations: 159.8 kB / 1.175 GB, free: 9.574 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.002, allocations: 2.156 kB / 1.175 GB, free: 9.574 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/1.002, allocations: 6.625 kB / 1.175 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/1.002, allocations: 9.281 kB / 1.175 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/1.002, allocations: 0 / 1.175 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/1.002, allocations: 0 / 1.175 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/1.002, allocations: 1.344 kB / 1.175 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/1.002, allocations: 134.6 kB / 1.175 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/1.002, allocations: 85.52 kB / 1.175 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/1.003, allocations: 1.062 kB / 1.175 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/1.003, allocations: 6.781 kB / 1.175 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/1.003, allocations: 5.875 kB / 1.175 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/1.003, allocations: 5.047 kB / 1.175 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 8.33e-05/1.003, allocations: 92.19 kB / 1.175 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.003, allocations: 0 / 1.175 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002421/1.003, allocations: 20.47 kB / 1.175 GB, free: 9.23 MB / 0.8887 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.0001731/1.003, allocations: 112.9 kB / 1.175 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001336/1.003, allocations: 16.25 kB / 1.175 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.003, allocations: 0.9375 kB / 1.175 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.567e-05/1.003, allocations: 10.22 kB / 1.175 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/1.004, allocations: 7.703 kB / 1.175 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/1.004, allocations: 132.3 kB / 1.175 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/1.004, allocations: 0.6778 MB / 1.176 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 5.665e-05/1.004, allocations: 7.188 kB / 1.176 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/1.004, allocations: 10.81 kB / 1.176 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of SimCode: time 2.5e-07/1.004, allocations: 0 / 1.176 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of Templates: time 0.003734/1.008, allocations: 0.7332 MB / 1.177 GB, free: 8.219 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches