Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.0008002/0.0008002, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001267/0.002068, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007119/0.0007119, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001737, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9798/0.9798, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1085/1.088, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.863/1.863, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4994/2.363, allocations: 123.3 MB / 0.7283 GB, free: 5.73 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.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.[0-9,]+.|masFra2.X.[0-9,]+.|masFra1.T",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.[0-9,]+.|masFra2.X.[0-9,]+.|masFra1.T",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.7296 GB, free: 4.422 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.726e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003072/0.0031, allocations: 1.733 MB / 0.7313 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1342/0.1373, allocations: 147.3 MB / 0.8752 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.872e-05/0.1374, allocations: 3.938 kB / 0.8752 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.1375, allocations: 11.86 kB / 0.8752 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.1377, allocations: 47.59 kB / 0.8752 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.138, allocations: 147.3 kB / 0.8754 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.1382, allocations: 123.5 kB / 0.8755 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.998e-05/0.1383, allocations: 22.23 kB / 0.8755 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008605/0.1392, allocations: 271.9 kB / 0.8758 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.1392, allocations: 35.91 kB / 0.8758 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1392, allocations: 4 kB / 0.8758 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.1395, allocations: 179.6 kB / 0.876 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.1395, allocations: 23.92 kB / 0.876 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.1396, allocations: 23.94 kB / 0.876 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.1398, allocations: 167.4 kB / 0.8762 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.457e-05/0.1398, allocations: 0 / 0.8762 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1398, allocations: 0 / 0.8762 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.1398, allocations: 0 / 0.8762 GB, free: 14.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005056/0.1403, allocations: 367.8 kB / 0.8765 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1404, allocations: 8.031 kB / 0.8765 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005475/0.1409, allocations: 184.9 kB / 0.8767 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.1412, allocations: 147.4 kB / 0.8769 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.1412, allocations: 4 kB / 0.8769 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.1412, allocations: 8 kB / 0.8769 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.1414, allocations: 115.4 kB / 0.877 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.491e-06/0.1414, allocations: 0 / 0.877 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1414, allocations: 0 / 0.877 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1414, allocations: 4 kB / 0.877 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.711e-05/0.1414, allocations: 39.91 kB / 0.877 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.1418, allocations: 238.8 kB / 0.8773 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.142, allocations: 85.27 kB / 0.8773 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.142, allocations: 24.86 kB / 0.8774 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.142, allocations: 0 / 0.8774 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.142, allocations: 38.5 kB / 0.8774 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.142, allocations: 4 kB / 0.8774 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0001459/0.1422, allocations: 77.58 kB / 0.8775 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.1422, allocations: 59.34 kB / 0.8775 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.1423, allocations: 134.7 kB / 0.8777 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1424, allocations: 25.7 kB / 0.8777 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.1424, allocations: 100.1 kB / 0.8778 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.1424, allocations: 27.75 kB / 0.8778 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.1425, allocations: 29.69 kB / 0.8778 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.1425, allocations: 318.8 kB / 0.8781 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.1426, allocations: 12 kB / 0.8781 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.057e-05/0.1426, allocations: 12.3 kB / 0.8782 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.895e-05/0.1426, allocations: 39.81 kB / 0.8782 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1426, allocations: 0 / 0.8782 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.452e-05/0.1427, allocations: 61.66 kB / 0.8783 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1427, allocations: 22.05 kB / 0.8783 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1427, allocations: 0 / 0.8783 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1427, allocations: 0 / 0.8783 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.827e-05/0.1428, allocations: 19.98 kB / 0.8783 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1428, allocations: 11.98 kB / 0.8783 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.068e-05/0.1429, allocations: 8 kB / 0.8783 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1429, allocations: 0 / 0.8783 GB, free: 11.74 MB / 0.8542 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 (8): * Single equations (assignments): 8 * 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.857e-05/0.1429, allocations: 116.7 kB / 0.8784 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.143, allocations: 11.94 kB / 0.8784 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.143, allocations: 12.78 kB / 0.8784 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.143, allocations: 3.984 kB / 0.8785 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.143, allocations: 4 kB / 0.8785 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.143, allocations: 0 / 0.8785 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.1432, allocations: 246.6 kB / 0.8787 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1433, allocations: 0 / 0.8787 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/0.1433, allocations: 31.89 kB / 0.8787 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-06/0.1433, allocations: 11.95 kB / 0.8787 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1433, allocations: 0 / 0.8787 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.1433, allocations: 8 kB / 0.8787 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1433, allocations: 0 / 0.8787 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1433, allocations: 4 kB / 0.8787 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.1435, allocations: 167.4 kB / 0.8789 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.1435, allocations: 0 / 0.8789 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.421e-05/0.1435, allocations: 15.94 kB / 0.8789 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.1436, allocations: 7.969 kB / 0.8789 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.1436, allocations: 8 kB / 0.8789 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.421e-05/0.1436, allocations: 27.23 kB / 0.879 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1436, allocations: 0 / 0.879 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001616/0.1438, allocations: 31.89 kB / 0.879 GB, free: 10.99 MB / 0.8542 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 (8): * Single equations (assignments): 8 * 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.0001842/0.1439, allocations: 104.3 kB / 0.8791 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.1441, allocations: 40.84 kB / 0.8791 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.1441, allocations: 3.984 kB / 0.8791 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.719e-05/0.1441, allocations: 32.78 kB / 0.8792 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.1444, allocations: 108 kB / 0.8793 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1457, allocations: 240.4 kB / 0.8795 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.345e-05/0.1457, allocations: 63.34 kB / 0.8796 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.285e-05/0.1458, allocations: 20.67 kB / 0.8796 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.541e-05/0.1459, allocations: 75.28 kB / 0.8796 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of SimCode: time 1.182e-06/0.1459, allocations: 0 / 0.8796 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of Templates: time 0.003999/0.1499, allocations: 2.063 MB / 0.8817 GB, free: 8.223 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.087932915426791]