Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.001689/0.001689, allocations: 116.6 kB / 17.13 MB, free: 6.004 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.002083/0.002083, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.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 3.025/3.025, allocations: 0.49 GB / 0.7923 GB, free: 1.449 MB / 0.6231 GB " [Timeout remaining time 176] 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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [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.002114/0.002114, allocations: 67.89 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168/1.17, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002278/1.173, allocations: 1.279 MB / 1.323 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00124/1.174, allocations: 0.837 MB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/1.174, allocations: 3.938 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/1.174, allocations: 0 / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.089e-05/1.174, allocations: 10.61 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/1.174, allocations: 135.2 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.896e-05/1.175, allocations: 21.58 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/1.175, allocations: 5.828 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.157e-05/1.175, allocations: 9.281 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.363e-05/1.175, allocations: 20.28 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/1.175, allocations: 0 / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003074/1.175, allocations: 174.6 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/1.175, allocations: 7.359 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/1.175, allocations: 13.28 kB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002233/1.175, allocations: 115.4 kB / 1.325 GB, free: 23.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/1.175, allocations: 3.312 kB / 1.325 GB, free: 23.38 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.022e-06/1.175, allocations: 0 / 1.325 GB, free: 23.38 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.522e-06/1.175, allocations: 0 / 1.325 GB, free: 23.38 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004413/1.176, allocations: 375.4 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.176, allocations: 14.55 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/1.176, allocations: 7.438 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.83e-05/1.176, allocations: 168.3 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.071e-05/1.176, allocations: 28.8 kB / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/1.176, allocations: 3.062 kB / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/1.176, allocations: 44.59 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/1.176, allocations: 3.938 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/1.176, allocations: 4 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/1.176, allocations: 6.594 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.28e-05/1.176, allocations: 11.56 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/1.176, allocations: 158.9 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/1.177, allocations: 49.91 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/1.177, allocations: 16.48 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/1.177, allocations: 182.4 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/1.177, allocations: 33.5 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/1.177, allocations: 0 / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002524/1.177, allocations: 66.03 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/1.177, allocations: 54.22 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.81e-05/1.177, allocations: 100 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/1.177, allocations: 29.7 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.423e-05/1.177, allocations: 84.08 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/1.177, allocations: 10.84 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/1.177, allocations: 20.02 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.173e-05/1.177, allocations: 310.8 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.985e-05/1.177, allocations: 12.95 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/1.178, allocations: 6.531 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.99e-05/1.178, allocations: 37.16 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.178, allocations: 4 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001168/1.178, allocations: 58.59 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/1.178, allocations: 9.5 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.178, allocations: 0 / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/1.178, allocations: 0 / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.359e-05/1.178, allocations: 15.53 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.178, allocations: 0 / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/1.178, allocations: 6.531 kB / 1.326 GB, free: 21.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/1.178, allocations: 4 kB / 1.326 GB, free: 21.47 MB / 1.061 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 (4): * Single equations (assignments): 4 * 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 5.45e-05/1.178, allocations: 112.3 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/1.178, allocations: 7.891 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/1.178, allocations: 69.75 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/1.178, allocations: 2.531 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/1.178, allocations: 0 / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/1.178, allocations: 0 / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.918e-05/1.178, allocations: 154.2 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.178, allocations: 0 / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/1.178, allocations: 19.72 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/1.178, allocations: 3.938 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/1.178, allocations: 0 / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.178, allocations: 3.938 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.178, allocations: 0 / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/1.178, allocations: 85.27 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/1.178, allocations: 84.67 kB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/1.178, allocations: 10.47 kB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.535e-05/1.179, allocations: 0 / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/1.179, allocations: 5.953 kB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/1.179, allocations: 2.594 kB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.105e-05/1.179, allocations: 81.91 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/1.179, allocations: 0 / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002612/1.179, allocations: 31.09 kB / 1.327 GB, free: 20.82 MB / 1.061 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 (4): * Single equations (assignments): 4 * 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.0002191/1.179, allocations: 151.1 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001547/1.179, allocations: 27.55 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.179, allocations: 2.844 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.959e-05/1.179, allocations: 11.61 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/1.18, allocations: 12.03 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/1.18, allocations: 152.4 kB / 1.327 GB, free: 20.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/1.18, allocations: 0.679 MB / 1.328 GB, free: 19.85 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/1.18, allocations: 10.16 kB / 1.328 GB, free: 19.84 MB / 1.061 GB Notification: Performance of SimCode: time 4.1e-07/1.18, allocations: 0 / 1.328 GB, free: 19.84 MB / 1.061 GB Notification: Performance of Templates: time 0.003106/1.183, allocations: 1.027 MB / 1.329 GB, free: 19.74 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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: 11.934355589997722]