Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0018/0.0018, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002362/0.002362, allocations: 221.7 kB / 23 MB, free: 4.918 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.253/3.253, allocations: 0.4892 GB / 0.7951 GB, free: 35.7 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.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [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.002142/0.002142, allocations: 66.81 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.372, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002798/0.3748, allocations: 1.277 MB / 1.328 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008614/0.3756, allocations: 275.6 kB / 1.328 GB, free: 440 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.3756, allocations: 0 / 1.328 GB, free: 440 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.3757, allocations: 0 / 1.328 GB, free: 440 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.5e-05/0.3757, allocations: 7.922 kB / 1.328 GB, free: 432 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.3761, allocations: 51.75 kB / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.635e-05/0.3762, allocations: 15.94 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.437e-05/0.3763, allocations: 3.984 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.911e-05/0.3763, allocations: 7.938 kB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.244e-05/0.3764, allocations: 11.98 kB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.3764, allocations: 0 / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.3766, allocations: 51.95 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.3766, allocations: 7.984 kB / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.3766, allocations: 7.938 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.3768, allocations: 55.77 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3768, allocations: 0 / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3768, allocations: 4 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.3768, allocations: 0 / 1.328 GB, free: 212 kB / 1.014 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.0005671/0.3774, allocations: 262.2 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.3774, allocations: 12.03 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.3777, allocations: 20.84 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.3778, allocations: 106.5 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3778, allocations: 384 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.3778, allocations: 384 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.378, allocations: 67.95 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3781, allocations: 8.172 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3781, allocations: 3.938 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3781, allocations: 4 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.764e-05/0.3781, allocations: 23.92 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.3784, allocations: 101.3 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.3803, allocations: 262.5 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/0.3804, allocations: 20.84 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.3804, allocations: 0 / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.3804, allocations: 38.56 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.3804, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002442/0.3807, allocations: 65.56 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.3807, allocations: 55.34 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.3808, allocations: 93.86 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3809, allocations: 25.7 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.3809, allocations: 88.27 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.381, allocations: 7.906 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.381, allocations: 21.7 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.3812, allocations: 310.8 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.663e-05/0.3813, allocations: 8 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.3813, allocations: 15.98 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.149e-05/0.3813, allocations: 20.86 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3813, allocations: 0 / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.03e-05/0.3814, allocations: 57.62 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3815, allocations: 8 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3815, allocations: 0 / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.3815, allocations: 7.938 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.996e-05/0.3815, allocations: 4 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3815, allocations: 0 / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.623e-05/0.3816, allocations: 7.953 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.3816, allocations: 3.938 kB / 1.33 GB, free: 14.33 MB / 1.029 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 9.365e-05/0.3817, allocations: 105.8 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.3817, allocations: 8 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.3817, allocations: 7.516 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3817, allocations: 3.938 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3818, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3818, allocations: 4.328 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.3819, allocations: 105.3 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3819, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-05/0.3819, allocations: 19.94 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3819, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.3819, allocations: 3.984 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3819, allocations: 3.984 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3819, allocations: 3.938 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.3821, allocations: 77.12 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.3821, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.3821, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.7e-05/0.3822, allocations: 12 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.3822, allocations: 7.922 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.3822, allocations: 0 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.014e-05/0.3823, allocations: 79.28 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3823, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001863/0.3825, allocations: 4 kB / 1.33 GB, free: 13.82 MB / 1.029 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.0001318/0.3826, allocations: 103.2 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.3827, allocations: 31.92 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3827, allocations: 4.094 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-05/0.3827, allocations: 12 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.383, allocations: 14.56 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.3834, allocations: 159.2 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.566e-05/0.3835, allocations: 59.34 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.3835, allocations: 11.44 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3835, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of Templates: time 0.002015/0.3855, allocations: 0.5308 MB / 1.331 GB, free: 12.84 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.316973282024264]