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.0007811/0.0007811, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007902/0.0007902, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9098/0.9098, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.762/1.762, allocations: 377.9 MB / 0.6228 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.492e-06/1.492e-06, allocations: 0 / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.8e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002185/0.002213, allocations: 1.285 MB / 0.9834 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0005346/0.002747, allocations: 279 kB / 0.9837 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.002776, allocations: 0 / 0.9837 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.103e-05/0.002797, allocations: 0 / 0.9837 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.002843, allocations: 0 / 0.9837 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.003171, allocations: 55.67 kB / 0.9838 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.965e-05/0.003251, allocations: 23.81 kB / 0.9838 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.003299, allocations: 3.984 kB / 0.9838 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/0.003365, allocations: 8 kB / 0.9838 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.598e-05/0.003421, allocations: 7.984 kB / 0.9838 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.003438, allocations: 4 kB / 0.9838 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.00356, allocations: 55.94 kB / 0.9839 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.003573, allocations: 0 / 0.9839 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.003596, allocations: 7.938 kB / 0.9839 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.003744, allocations: 51.88 kB / 0.9839 GB, free: 344 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.003747, allocations: 0 / 0.9839 GB, free: 344 kB / 0.9323 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003748, allocations: 0 / 0.9839 GB, free: 344 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.003753, allocations: 0 / 0.9839 GB, free: 344 kB / 0.9323 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.0003936/0.004147, allocations: 262.3 kB / 0.9842 GB, free: 48 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.004188, allocations: 8.031 kB / 0.9842 GB, free: 40 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.004382, allocations: 24.91 kB / 0.9842 GB, free: 16 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.004483, allocations: 105.7 kB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.004497, allocations: 4.375 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.004507, allocations: 4.375 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.004637, allocations: 67.95 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.004646, allocations: 192 / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.004658, allocations: 4.375 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.004663, allocations: 384 / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.089e-05/0.004714, allocations: 23.86 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.004843, allocations: 101.3 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.006054, allocations: 270.5 kB / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.006088, allocations: 20.78 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.006099, allocations: 4 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.00612, allocations: 34.56 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.006121, allocations: 3.938 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001447/0.006266, allocations: 69.58 kB / 0.9849 GB, free: 15.22 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.006294, allocations: 51.41 kB / 0.9849 GB, free: 15.16 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.639e-05/0.00634, allocations: 97.8 kB / 0.985 GB, free: 15.05 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.006351, allocations: 25.7 kB / 0.985 GB, free: 15.02 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/0.00637, allocations: 80.14 kB / 0.9851 GB, free: 14.94 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.006397, allocations: 15.89 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.006422, allocations: 13.72 kB / 0.9852 GB, free: 14.91 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.006499, allocations: 318.8 kB / 0.9855 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/0.006514, allocations: 8.125 kB / 0.9855 GB, free: 14.58 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.454e-05/0.006528, allocations: 11.98 kB / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.006566, allocations: 33.06 kB / 0.9855 GB, free: 14.53 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.006568, allocations: 0 / 0.9855 GB, free: 14.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.304e-05/0.006621, allocations: 53.69 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.006632, allocations: 4 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.006637, allocations: 0 / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.006648, allocations: 0 / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.499e-05/0.006683, allocations: 8 kB / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.006688, allocations: 0 / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.548e-05/0.006704, allocations: 3.938 kB / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.006707, allocations: 4 kB / 0.9856 GB, free: 14.45 MB / 0.948 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.143e-05/0.006759, allocations: 113.8 kB / 0.9857 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-06/0.006763, allocations: 0 / 0.9857 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.213e-05/0.006785, allocations: 11.52 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.006786, allocations: 0 / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.006791, allocations: 3.938 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.006794, allocations: 7.938 kB / 0.9857 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.925e-05/0.006854, allocations: 101.3 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.3e-07/0.006854, allocations: 0 / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.006872, allocations: 4 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.006873, allocations: 4 kB / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.006879, allocations: 0 / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.006886, allocations: 7.984 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006887, allocations: 0 / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.689e-05/0.006954, allocations: 84.95 kB / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.006992, allocations: 7.938 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-06/0.007002, allocations: 4 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.916e-05/0.007031, allocations: 4 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.007046, allocations: 3.984 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.007051, allocations: 7.938 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.376e-05/0.007074, allocations: 83.22 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007074, allocations: 0 / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001263/0.007201, allocations: 11.94 kB / 0.986 GB, free: 13.94 MB / 0.948 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 7.429e-05/0.007275, allocations: 99.78 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.38e-05/0.007349, allocations: 23.98 kB / 0.9861 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.00735, allocations: 0 / 0.9861 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.007363, allocations: 12 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.007516, allocations: 7.984 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/0.007775, allocations: 154.5 kB / 0.9863 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.468e-05/0.00781, allocations: 55.36 kB / 0.9864 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.007839, allocations: 12.5 kB / 0.9864 GB, free: 13.52 MB / 0.948 GB Notification: Performance of SimCode: time 4.41e-07/0.00784, allocations: 0 / 0.9864 GB, free: 13.52 MB / 0.948 GB Notification: Performance of Templates: time 0.001296/0.009136, allocations: 0.5505 MB / 0.9869 GB, free: 12.97 MB / 0.948 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/jenkins/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: 6.592231789603829]