Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.001367/0.001367, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.001503/0.001503, allocations: 158.7 kB / 22.46 MB, free: 5.375 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.435/1.435, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 2.844/2.844, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9814 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.479e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002414/0.002439, allocations: 1.29 MB / 0.9827 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.003857, allocations: 0.7555 MB / 0.9834 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.881e-05/0.003876, allocations: 0 / 0.9834 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.003892, allocations: 3.938 kB / 0.9834 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.003938, allocations: 3.938 kB / 0.9834 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.004454, allocations: 147.2 kB / 0.9836 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.271e-05/0.004537, allocations: 23.92 kB / 0.9836 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.004572, allocations: 0 / 0.9836 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.764e-05/0.00464, allocations: 27.84 kB / 0.9836 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.647e-05/0.004697, allocations: 7.984 kB / 0.9836 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.004713, allocations: 0 / 0.9836 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003468/0.00506, allocations: 159.7 kB / 0.9838 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.005082, allocations: 8 kB / 0.9838 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.005114, allocations: 7.984 kB / 0.9838 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.005413, allocations: 139.6 kB / 0.9839 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.005416, allocations: 0 / 0.9839 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.12e-07/0.005417, allocations: 4 kB / 0.9839 GB, free: 8.328 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.005422, allocations: 0 / 0.9839 GB, free: 8.328 MB / 0.8887 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.0005115/0.005934, allocations: 290 kB / 0.9842 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.005979, allocations: 12.03 kB / 0.9842 GB, free: 8 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.006013, allocations: 0.9375 kB / 0.9842 GB, free: 8 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.006124, allocations: 113.7 kB / 0.9843 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-05/0.006221, allocations: 59.97 kB / 0.9844 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.006229, allocations: 384 / 0.9844 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.006423, allocations: 71.94 kB / 0.9845 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.00643, allocations: 192 / 0.9845 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.00644, allocations: 4.375 kB / 0.9845 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.006449, allocations: 4.125 kB / 0.9845 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.006557, allocations: 19.98 kB / 0.9845 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.006713, allocations: 109.3 kB / 0.9846 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.006939, allocations: 46.55 kB / 0.9846 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.714e-05/0.007006, allocations: 20.94 kB / 0.9847 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.00725, allocations: 39.95 kB / 0.9847 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.007279, allocations: 30.56 kB / 0.9847 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.007281, allocations: 0 / 0.9847 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002608/0.007541, allocations: 69.61 kB / 0.9848 GB, free: 7.316 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.007586, allocations: 51.41 kB / 0.9848 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.461e-05/0.007671, allocations: 105.7 kB / 0.9849 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.007692, allocations: 25.7 kB / 0.985 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.007738, allocations: 80.14 kB / 0.985 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.007767, allocations: 15.89 kB / 0.9851 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.007807, allocations: 21.72 kB / 0.9851 GB, free: 6.984 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.007953, allocations: 310.8 kB / 0.9854 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.733e-05/0.00801, allocations: 15.98 kB / 0.9854 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.553e-05/0.008056, allocations: 4 kB / 0.9854 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.008163, allocations: 28.84 kB / 0.9854 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.008164, allocations: 0 / 0.9854 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001599/0.008324, allocations: 57.67 kB / 0.9855 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.008338, allocations: 6.656 kB / 0.9855 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.008342, allocations: 3.938 kB / 0.9855 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.008355, allocations: 7.938 kB / 0.9855 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.008411, allocations: 8 kB / 0.9855 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.008419, allocations: 3.938 kB / 0.9855 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.00847, allocations: 11.95 kB / 0.9855 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.008475, allocations: 0 / 0.9855 GB, free: 6.52 MB / 0.8887 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 8.788e-05/0.008563, allocations: 109.8 kB / 0.9856 GB, free: 6.402 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.008577, allocations: 4 kB / 0.9856 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.008777, allocations: 61.36 kB / 0.9857 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.008779, allocations: 4 kB / 0.9857 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.008783, allocations: 4 kB / 0.9857 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.008788, allocations: 3.938 kB / 0.9857 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.008893, allocations: 105.3 kB / 0.9858 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.008896, allocations: 3.984 kB / 0.9858 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.008951, allocations: 11.94 kB / 0.9858 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.008953, allocations: 0 / 0.9858 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.008961, allocations: 4 kB / 0.9858 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.008962, allocations: 0 / 0.9858 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008964, allocations: 0 / 0.9858 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.009169, allocations: 85.61 kB / 0.9859 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.009215, allocations: 15.89 kB / 0.9859 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.009227, allocations: 0 / 0.9859 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.446e-05/0.009281, allocations: 11.92 kB / 0.9859 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.009322, allocations: 4.031 kB / 0.9859 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.009331, allocations: 8 kB / 0.9859 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.57e-05/0.009377, allocations: 79.22 kB / 0.986 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.009377, allocations: 0 / 0.986 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002571/0.009634, allocations: 39.86 kB / 0.986 GB, free: 5.91 MB / 0.8887 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.0002811/0.009915, allocations: 143.6 kB / 0.9862 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.01008, allocations: 23.98 kB / 0.9862 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.01008, allocations: 4 kB / 0.9862 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 5.851e-05/0.01014, allocations: 15.98 kB / 0.9862 GB, free: 5.715 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.01038, allocations: 4 kB / 0.9862 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.01069, allocations: 120.7 kB / 0.9863 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.612e-05/0.01075, allocations: 59.34 kB / 0.9864 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 4.01e-05/0.01079, allocations: 11.98 kB / 0.9864 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.01082, allocations: 12.5 kB / 0.9864 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of SimCode: time 4.3e-07/0.01082, allocations: 0 / 0.9864 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of Templates: time 0.004169/0.01499, allocations: 1.119 MB / 0.9875 GB, free: 4.355 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.924152698367834]