Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001777/0.001777, allocations: 80.06 kB / 19.18 MB, free: 2.52 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.002382/0.002382, allocations: 165 kB / 22.46 MB, free: 5.379 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.457/1.457, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.698/2.698, allocations: 359 MB / 0.6037 GB, free: 15.01 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_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.78e-05, allocations: 4.953 kB / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002249/0.002277, allocations: 1.278 MB / 0.9522 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005472/0.002824, allocations: 275.1 kB / 0.9525 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.002847, allocations: 4 kB / 0.9525 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.002865, allocations: 3.938 kB / 0.9525 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.446e-05/0.0029, allocations: 3.938 kB / 0.9525 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.003184, allocations: 51.67 kB / 0.9525 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.502e-05/0.003249, allocations: 19.94 kB / 0.9526 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.003286, allocations: 0 / 0.9526 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.247e-05/0.003338, allocations: 11.92 kB / 0.9526 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.126e-05/0.00338, allocations: 7.938 kB / 0.9526 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.003392, allocations: 4 kB / 0.9526 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.003513, allocations: 59.92 kB / 0.9526 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.989e-06/0.003523, allocations: 0 / 0.9526 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.003542, allocations: 8 kB / 0.9526 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.00368, allocations: 51.88 kB / 0.9527 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.003682, allocations: 3.938 kB / 0.9527 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003683, allocations: 0 / 0.9527 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.003691, allocations: 3.938 kB / 0.9527 GB, free: 9.801 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.0003737/0.004065, allocations: 266.2 kB / 0.9529 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.004099, allocations: 8.031 kB / 0.953 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.004303, allocations: 20.92 kB / 0.953 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.369e-05/0.004396, allocations: 109.7 kB / 0.9531 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-06/0.004404, allocations: 384 / 0.9531 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.004417, allocations: 4.375 kB / 0.9531 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.004553, allocations: 67.95 kB / 0.9532 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.004562, allocations: 192 / 0.9532 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.00457, allocations: 384 / 0.9532 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.004574, allocations: 384 / 0.9532 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.384e-05/0.004628, allocations: 23.86 kB / 0.9532 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.00477, allocations: 105.3 kB / 0.9533 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.006652, allocations: 270.4 kB / 0.9535 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.006692, allocations: 12.86 kB / 0.9535 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.0067, allocations: 4 kB / 0.9535 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.006731, allocations: 38.55 kB / 0.9536 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.006732, allocations: 0 / 0.9536 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001722/0.006904, allocations: 65.62 kB / 0.9536 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.00694, allocations: 51.41 kB / 0.9537 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.112e-05/0.007011, allocations: 97.8 kB / 0.9538 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.00703, allocations: 29.7 kB / 0.9538 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.007061, allocations: 80.14 kB / 0.9539 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.007088, allocations: 7.906 kB / 0.9539 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.007125, allocations: 17.72 kB / 0.9539 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.007256, allocations: 318.8 kB / 0.9542 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.007278, allocations: 8.125 kB / 0.9542 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.007294, allocations: 8 kB / 0.9542 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.264e-05/0.007346, allocations: 28.84 kB / 0.9543 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.007348, allocations: 3.938 kB / 0.9543 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.687e-05/0.007435, allocations: 57.66 kB / 0.9543 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.007446, allocations: 7.938 kB / 0.9543 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.00745, allocations: 0 / 0.9543 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.007466, allocations: 0 / 0.9543 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.007527, allocations: 11.98 kB / 0.9543 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.007532, allocations: 0 / 0.9543 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.342e-05/0.007565, allocations: 7.938 kB / 0.9544 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.00757, allocations: 4 kB / 0.9544 GB, free: 7.918 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.663e-05/0.007647, allocations: 109.8 kB / 0.9545 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-06/0.007656, allocations: 0 / 0.9545 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.007684, allocations: 11.47 kB / 0.9545 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.007686, allocations: 0 / 0.9545 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.007689, allocations: 0 / 0.9545 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.007693, allocations: 7.938 kB / 0.9545 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.638e-05/0.007789, allocations: 109.3 kB / 0.9546 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.00779, allocations: 0 / 0.9546 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.007834, allocations: 7.938 kB / 0.9546 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007835, allocations: 0 / 0.9546 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.007842, allocations: 4 kB / 0.9546 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.007845, allocations: 4 kB / 0.9546 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007845, allocations: 0 / 0.9546 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.007954, allocations: 81.39 kB / 0.9547 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.007997, allocations: 15.88 kB / 0.9547 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.008008, allocations: 0 / 0.9547 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.962e-05/0.008058, allocations: 0 / 0.9547 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.008074, allocations: 4.031 kB / 0.9547 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.008078, allocations: 4 kB / 0.9547 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.601e-05/0.008114, allocations: 75.28 kB / 0.9548 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.008115, allocations: 4.094 kB / 0.9548 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001923/0.008307, allocations: 19.92 kB / 0.9548 GB, free: 7.406 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 (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.0001039/0.008411, allocations: 95.19 kB / 0.9549 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.805e-05/0.008499, allocations: 23.98 kB / 0.9549 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0085, allocations: 0 / 0.9549 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.281e-05/0.008523, allocations: 12 kB / 0.9549 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.00877, allocations: 11.98 kB / 0.9549 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.009103, allocations: 128.8 kB / 0.9551 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.265e-05/0.009155, allocations: 59.34 kB / 0.9551 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.231e-05/0.009198, allocations: 8 kB / 0.9551 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.009227, allocations: 8.5 kB / 0.9551 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of SimCode: time 2.81e-07/0.009227, allocations: 0 / 0.9551 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of Templates: time 0.002972/0.0122, allocations: 0.5518 MB / 0.9557 GB, free: 6.48 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.7346265353262424]