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.00119/0.00119, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001754/0.002944, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001146/0.001146, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002347/0.003493, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.032/1.032, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09593/1.128, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.902/1.902, allocations: 378.2 MB / 0.6076 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5223/2.424, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.918e-05, allocations: 6.344 kB / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001843/0.001862, allocations: 1.361 MB / 0.7307 GB, free: 3.188 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003506/0.002212, allocations: 311.7 kB / 0.731 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.588e-05/0.002228, allocations: 0 / 0.731 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.371e-06/0.002235, allocations: 0 / 0.731 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.475e-05/0.002259, allocations: 7.359 kB / 0.731 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.002406, allocations: 48.02 kB / 0.731 GB, free: 2.848 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.58e-05/0.002462, allocations: 14.78 kB / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 2.801e-05/0.00249, allocations: 4.984 kB / 0.731 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.104e-05/0.002541, allocations: 13.31 kB / 0.731 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.24e-05/0.002584, allocations: 4.766 kB / 0.731 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.002595, allocations: 1.281 kB / 0.731 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.00272, allocations: 64.77 kB / 0.7311 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.00273, allocations: 4.766 kB / 0.7311 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.43e-05/0.002745, allocations: 4.656 kB / 0.7311 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.002847, allocations: 46.16 kB / 0.7312 GB, free: 2.707 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.00286, allocations: 0.6562 kB / 0.7312 GB, free: 2.707 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.11e-07/0.00286, allocations: 1.406 kB / 0.7312 GB, free: 2.707 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.002873, allocations: 0 / 0.7312 GB, free: 2.707 MB / 0.698 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.0002631/0.003136, allocations: 249.3 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.003164, allocations: 8.562 kB / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.003336, allocations: 107.5 kB / 0.7315 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.119e-05/0.003397, allocations: 105.8 kB / 0.7316 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.003405, allocations: 384 / 0.7316 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.003415, allocations: 9.312 kB / 0.7316 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.371e-05/0.003499, allocations: 67.95 kB / 0.7317 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.003505, allocations: 0.7344 kB / 0.7317 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.003511, allocations: 0.875 kB / 0.7317 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.003515, allocations: 1.125 kB / 0.7317 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.417e-05/0.00355, allocations: 15.92 kB / 0.7317 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.881e-05/0.003628, allocations: 66.59 kB / 0.7318 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007138/0.004342, allocations: 238.5 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.004364, allocations: 12.84 kB / 0.732 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.004374, allocations: 12.8 kB / 0.732 GB, free: 1.738 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.004396, allocations: 30.56 kB / 0.732 GB, free: 1.699 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.041e-06/0.004397, allocations: 0.9688 kB / 0.732 GB, free: 1.699 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 9.036e-05/0.004488, allocations: 45.69 kB / 0.7321 GB, free: 1.648 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.004517, allocations: 55.94 kB / 0.7321 GB, free: 1.582 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.995e-05/0.004567, allocations: 95.88 kB / 0.7322 GB, free: 1.477 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.004579, allocations: 29.7 kB / 0.7323 GB, free: 1.441 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.278e-05/0.004601, allocations: 80.14 kB / 0.7323 GB, free: 1.359 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.004628, allocations: 12.67 kB / 0.7324 GB, free: 1.348 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.004659, allocations: 17.67 kB / 0.7324 GB, free: 1.324 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.004739, allocations: 327.9 kB / 0.7327 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-06/0.004748, allocations: 7.938 kB / 0.7327 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-06/0.004758, allocations: 4 kB / 0.7327 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/0.004787, allocations: 25.47 kB / 0.7327 GB, free: 0.957 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.004789, allocations: 0 / 0.7327 GB, free: 0.957 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.035e-05/0.004829, allocations: 39.42 kB / 0.7328 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.004842, allocations: 4 kB / 0.7328 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.004847, allocations: 3.984 kB / 0.7328 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.933e-06/0.004854, allocations: 0 / 0.7328 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.615e-05/0.00489, allocations: 8.609 kB / 0.7328 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.004892, allocations: 4.688 kB / 0.7328 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.004908, allocations: 3.984 kB / 0.7328 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.004911, allocations: 4.75 kB / 0.7328 GB, free: 0.8867 MB / 0.698 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.402e-05/0.004965, allocations: 109.8 kB / 0.7329 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-06/0.004972, allocations: 5.844 kB / 0.7329 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.004991, allocations: 7.531 kB / 0.7329 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.004993, allocations: 3.984 kB / 0.7329 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.004995, allocations: 0 / 0.7329 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.004998, allocations: 0 / 0.7329 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.826e-05/0.005056, allocations: 75.19 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.005057, allocations: 0 / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.005075, allocations: 8 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.005098, allocations: 4 kB / 0.733 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.005099, allocations: 1.25 kB / 0.733 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-06/0.005102, allocations: 0 / 0.733 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.005104, allocations: 3.984 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005105, allocations: 1.25 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.542e-05/0.00516, allocations: 76.98 kB / 0.7331 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-06/0.005167, allocations: 0 / 0.7331 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.395e-05/0.005191, allocations: 11.22 kB / 0.7331 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-06/0.0052, allocations: 0 / 0.7331 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.005203, allocations: 0 / 0.7331 GB, free: 0.543 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.844e-06/0.00521, allocations: 8.859 kB / 0.7331 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.00521, allocations: 0 / 0.7331 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of remove unused functions: time 8.978e-05/0.0053, allocations: 4 kB / 0.7331 GB, free: 0.5273 MB / 0.698 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 6.634e-05/0.005367, allocations: 80.41 kB / 0.7332 GB, free: 448 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.504e-05/0.005422, allocations: 23.83 kB / 0.7332 GB, free: 424 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.005425, allocations: 4 kB / 0.7332 GB, free: 420 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-05/0.00544, allocations: 24.78 kB / 0.7332 GB, free: 392 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.743e-05/0.005538, allocations: 15.92 kB / 0.7332 GB, free: 376 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006181/0.006156, allocations: 134.7 kB / 0.7334 GB, free: 216 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.006333, allocations: 55.36 kB / 0.7334 GB, free: 140 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.054e-05/0.006363, allocations: 2.438 kB / 0.7334 GB, free: 140 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.225e-05/0.006435, allocations: 66.23 kB / 0.7335 GB, free: 76 kB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/0.006436, allocations: 0 / 0.7335 GB, free: 76 kB / 0.698 GB Notification: Performance of Templates: time 0.001973/0.008408, allocations: 0.6912 MB / 0.7342 GB, free: 15.41 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.926935911178589]