Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.001397/0.001397, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.001465/0.001465, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.464/1.464, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.714/2.714, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.396e-05, allocations: 8.188 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002288/0.002312, allocations: 1.275 MB / 0.9522 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.003897, allocations: 0.8657 MB / 0.9531 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.003919, allocations: 0 / 0.9531 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.003933, allocations: 0 / 0.9531 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.608e-05/0.003989, allocations: 15.92 kB / 0.9531 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.004691, allocations: 206.6 kB / 0.9533 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.571e-05/0.004757, allocations: 23.86 kB / 0.9533 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.266e-05/0.00479, allocations: 0 / 0.9533 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.53e-05/0.004845, allocations: 8 kB / 0.9533 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.718e-05/0.004892, allocations: 15.91 kB / 0.9533 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.004905, allocations: 0 / 0.9533 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004491/0.005354, allocations: 239.6 kB / 0.9536 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.005365, allocations: 0 / 0.9536 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.005386, allocations: 4 kB / 0.9536 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000347/0.005733, allocations: 195.5 kB / 0.9537 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.005735, allocations: 0 / 0.9537 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.71e-07/0.005736, allocations: 0 / 0.9537 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.005739, allocations: 0 / 0.9537 GB, free: 8.75 MB / 0.8575 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.0004522/0.006192, allocations: 290 kB / 0.954 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.006225, allocations: 8.031 kB / 0.954 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002711/0.006496, allocations: 20.92 kB / 0.954 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.395e-05/0.00659, allocations: 109.8 kB / 0.9541 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.006602, allocations: 4.375 kB / 0.9542 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.00661, allocations: 384 / 0.9542 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.006753, allocations: 75.88 kB / 0.9542 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.006765, allocations: 7.875 kB / 0.9542 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.006775, allocations: 0 / 0.9542 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.006784, allocations: 0 / 0.9542 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.843e-05/0.006843, allocations: 15.98 kB / 0.9542 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.006989, allocations: 105.3 kB / 0.9543 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009505/0.00794, allocations: 130.6 kB / 0.9545 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.007984, allocations: 24.78 kB / 0.9545 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.612e-05/0.00807, allocations: 15.94 kB / 0.9545 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.008095, allocations: 30.56 kB / 0.9545 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.008096, allocations: 0 / 0.9545 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001807/0.008277, allocations: 65.61 kB / 0.9546 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.008312, allocations: 51.41 kB / 0.9547 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.896e-05/0.008381, allocations: 101.9 kB / 0.9548 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.008401, allocations: 25.7 kB / 0.9548 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.008434, allocations: 80.14 kB / 0.9549 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.008458, allocations: 7.906 kB / 0.9549 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.008502, allocations: 21.7 kB / 0.9549 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.008629, allocations: 314.8 kB / 0.9552 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/0.008652, allocations: 8 kB / 0.9552 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.271e-05/0.008675, allocations: 12.11 kB / 0.9552 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.796e-05/0.008733, allocations: 28.94 kB / 0.9552 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.008734, allocations: 0 / 0.9552 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.976e-05/0.008834, allocations: 61.77 kB / 0.9553 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.008847, allocations: 4 kB / 0.9553 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.00885, allocations: 0 / 0.9553 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.008866, allocations: 3.938 kB / 0.9553 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.361e-05/0.008929, allocations: 11.98 kB / 0.9553 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.008933, allocations: 0 / 0.9553 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.345e-05/0.008966, allocations: 7.938 kB / 0.9553 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.008978, allocations: 7.938 kB / 0.9553 GB, free: 6.953 MB / 0.8575 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 7.635e-05/0.009054, allocations: 109.8 kB / 0.9554 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.009065, allocations: 0 / 0.9554 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.009297, allocations: 81.2 kB / 0.9555 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.009302, allocations: 3.938 kB / 0.9555 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.009306, allocations: 0 / 0.9555 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.00931, allocations: 3.984 kB / 0.9555 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.91e-05/0.00941, allocations: 105.3 kB / 0.9556 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.009411, allocations: 3.938 kB / 0.9556 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.009466, allocations: 12 kB / 0.9556 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.009468, allocations: 0 / 0.9556 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.009477, allocations: 0 / 0.9556 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.009478, allocations: 3.938 kB / 0.9556 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/0.009485, allocations: 11.86 kB / 0.9556 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.009613, allocations: 85.08 kB / 0.9557 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.009636, allocations: 4 kB / 0.9557 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.009648, allocations: 0 / 0.9557 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.219e-05/0.0097, allocations: 4 kB / 0.9557 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.009722, allocations: 11.92 kB / 0.9557 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.009728, allocations: 0 / 0.9557 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.551e-05/0.009764, allocations: 83.28 kB / 0.9558 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.009764, allocations: 0 / 0.9558 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002622/0.01003, allocations: 43.88 kB / 0.9559 GB, free: 6.328 MB / 0.8575 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 (5): * Single equations (assignments): 5 * 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.0002874/0.01031, allocations: 177.4 kB / 0.956 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.01042, allocations: 27.92 kB / 0.9561 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01042, allocations: 4 kB / 0.9561 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.931e-05/0.01045, allocations: 12 kB / 0.9561 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.01061, allocations: 4.25 kB / 0.9561 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.01095, allocations: 132.9 kB / 0.9562 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.023e-05/0.011, allocations: 59.36 kB / 0.9563 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.956e-05/0.01106, allocations: 15.97 kB / 0.9563 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.01109, allocations: 12.5 kB / 0.9563 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of SimCode: time 2.91e-07/0.01109, allocations: 0 / 0.9563 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of Templates: time 0.004088/0.01518, allocations: 1.164 MB / 0.9574 GB, free: 4.695 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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: 7.867617547512054]