Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 157.1 kB / 23 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.756/2.756, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002457/0.002457, allocations: 65.92 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8788/0.8812, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001984/0.8832, allocations: 1.309 MB / 1.155 GB, free: 32.44 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1597/1.043, allocations: 129.6 MB / 1.282 GB, free: 9.098 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/1.043, allocations: 5.344 kB / 1.282 GB, free: 9.094 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/1.043, allocations: 0.7031 kB / 1.282 GB, free: 9.094 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 4.988e-05/1.043, allocations: 10.02 kB / 1.282 GB, free: 9.086 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/1.044, allocations: 116.9 kB / 1.282 GB, free: 9.031 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 7.358e-05/1.044, allocations: 18.31 kB / 1.282 GB, free: 9.023 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/1.044, allocations: 2.234 kB / 1.282 GB, free: 9.023 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.982e-05/1.044, allocations: 12.78 kB / 1.282 GB, free: 9.016 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 3.294e-05/1.044, allocations: 4.5 kB / 1.282 GB, free: 9.016 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/1.044, allocations: 5.312 kB / 1.282 GB, free: 9.012 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004729/1.044, allocations: 165 kB / 1.282 GB, free: 8.969 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/1.044, allocations: 1.672 kB / 1.282 GB, free: 8.969 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/1.044, allocations: 11.8 kB / 1.282 GB, free: 8.961 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/1.045, allocations: 110.1 kB / 1.282 GB, free: 8.938 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/1.045, allocations: 1.312 kB / 1.282 GB, free: 8.938 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.172e-06/1.045, allocations: 0 / 1.282 GB, free: 8.938 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.57e-06/1.045, allocations: 3.938 kB / 1.282 GB, free: 8.934 MB / 1.139 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.000399/1.045, allocations: 278.8 kB / 1.282 GB, free: 8.652 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/1.045, allocations: 10.16 kB / 1.282 GB, free: 8.652 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000606/1.046, allocations: 45.83 kB / 1.283 GB, free: 8.645 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/1.046, allocations: 104.7 kB / 1.283 GB, free: 8.52 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/1.046, allocations: 5.344 kB / 1.283 GB, free: 8.516 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/1.046, allocations: 1.031 kB / 1.283 GB, free: 8.516 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/1.046, allocations: 49.23 kB / 1.283 GB, free: 8.48 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/1.046, allocations: 0 / 1.283 GB, free: 8.48 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/1.046, allocations: 5.219 kB / 1.283 GB, free: 8.477 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/1.046, allocations: 0 / 1.283 GB, free: 8.477 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/1.046, allocations: 23.67 kB / 1.283 GB, free: 8.469 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/1.046, allocations: 206.9 kB / 1.283 GB, free: 8.258 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 6.302e-05/1.047, allocations: 20.22 kB / 1.283 GB, free: 8.234 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/1.047, allocations: 13.44 kB / 1.283 GB, free: 8.223 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/1.047, allocations: 1.375 kB / 1.283 GB, free: 8.223 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/1.047, allocations: 40.23 kB / 1.283 GB, free: 8.176 MB / 1.139 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/1.047, allocations: 0 / 1.283 GB, free: 8.176 MB / 1.139 GB Notification: Performance of matching and sorting (n=2): time 0.0001643/1.047, allocations: 44 kB / 1.283 GB, free: 8.137 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/1.047, allocations: 53.17 kB / 1.283 GB, free: 8.074 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/1.047, allocations: 109.7 kB / 1.283 GB, free: 7.973 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/1.047, allocations: 25.7 kB / 1.283 GB, free: 7.941 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/1.047, allocations: 82.73 kB / 1.283 GB, free: 7.859 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/1.047, allocations: 8.609 kB / 1.283 GB, free: 7.852 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/1.047, allocations: 23 kB / 1.283 GB, free: 7.832 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.047, allocations: 321.8 kB / 1.284 GB, free: 7.512 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.885e-05/1.047, allocations: 12.05 kB / 1.284 GB, free: 7.508 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.906e-05/1.047, allocations: 10.45 kB / 1.284 GB, free: 7.508 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.181e-05/1.047, allocations: 25.55 kB / 1.284 GB, free: 7.492 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.047, allocations: 0 / 1.284 GB, free: 7.492 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002069/1.048, allocations: 60.55 kB / 1.284 GB, free: 7.453 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/1.048, allocations: 9.141 kB / 1.284 GB, free: 7.453 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/1.048, allocations: 0 / 1.284 GB, free: 7.453 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/1.048, allocations: 1.484 kB / 1.284 GB, free: 7.453 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/1.048, allocations: 9.375 kB / 1.284 GB, free: 7.453 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/1.048, allocations: 0.7969 kB / 1.284 GB, free: 7.453 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/1.048, allocations: 7.578 kB / 1.284 GB, free: 7.453 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/1.048, allocations: 2.969 kB / 1.284 GB, free: 7.453 MB / 1.139 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.964e-05/1.048, allocations: 116.6 kB / 1.284 GB, free: 7.332 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/1.048, allocations: 5.172 kB / 1.284 GB, free: 7.328 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/1.048, allocations: 9.016 kB / 1.284 GB, free: 7.32 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/1.048, allocations: 1.781 kB / 1.284 GB, free: 7.32 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.048, allocations: 3.938 kB / 1.284 GB, free: 7.316 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/1.048, allocations: 0 / 1.284 GB, free: 7.316 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/1.048, allocations: 108 kB / 1.284 GB, free: 7.188 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.048, allocations: 0 / 1.284 GB, free: 7.188 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.808e-05/1.048, allocations: 7 kB / 1.284 GB, free: 7.184 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.048, allocations: 1.156 kB / 1.284 GB, free: 7.184 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/1.048, allocations: 0.5156 kB / 1.284 GB, free: 7.184 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/1.048, allocations: 4 kB / 1.284 GB, free: 7.18 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.048, allocations: 5.219 kB / 1.284 GB, free: 7.176 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/1.048, allocations: 144.8 kB / 1.284 GB, free: 7.031 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/1.048, allocations: 5.797 kB / 1.284 GB, free: 7.027 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/1.049, allocations: 1.859 kB / 1.284 GB, free: 7.027 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.912e-05/1.049, allocations: 3.094 kB / 1.284 GB, free: 7.027 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/1.049, allocations: 0.75 kB / 1.284 GB, free: 7.027 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/1.049, allocations: 1.969 kB / 1.284 GB, free: 7.027 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001133/1.049, allocations: 91.36 kB / 1.284 GB, free: 6.949 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.049, allocations: 4.031 kB / 1.284 GB, free: 6.945 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002594/1.049, allocations: 16.66 kB / 1.284 GB, free: 6.941 MB / 1.139 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.000178/1.049, allocations: 108.7 kB / 1.284 GB, free: 6.852 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001511/1.049, allocations: 32.95 kB / 1.284 GB, free: 6.836 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.049, allocations: 0 / 1.284 GB, free: 6.836 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.197e-05/1.049, allocations: 3.75 kB / 1.284 GB, free: 6.836 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/1.05, allocations: 10.62 kB / 1.284 GB, free: 6.832 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/1.05, allocations: 116.8 kB / 1.285 GB, free: 6.719 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.902e-05/1.05, allocations: 59.67 kB / 1.285 GB, free: 6.648 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 6.002e-05/1.05, allocations: 10.98 kB / 1.285 GB, free: 6.641 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/1.05, allocations: 11.09 kB / 1.285 GB, free: 6.629 MB / 1.139 GB Notification: Performance of SimCode: time 5.81e-07/1.05, allocations: 1.25 kB / 1.285 GB, free: 6.629 MB / 1.139 GB Notification: Performance of Templates: time 0.003536/1.054, allocations: 0.7706 MB / 1.285 GB, free: 6.523 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.723008456057869]