Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009508/0.0009508, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001037/0.001037, allocations: 161 kB / 23.82 MB, free: 0.75 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.9261/0.9261, allocations: 177.2 MB / 204.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.731/1.731, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.757e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002829/0.002857, allocations: 1.699 MB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.131/0.1339, allocations: 147.5 MB / 0.9327 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.134, allocations: 0 / 0.9327 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.1342, allocations: 19.8 kB / 0.9328 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.1345, allocations: 55.56 kB / 0.9328 GB, free: 6.781 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.1349, allocations: 155.3 kB / 0.933 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.1351, allocations: 119.6 kB / 0.9331 GB, free: 6.512 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1352, allocations: 21.58 kB / 0.9331 GB, free: 6.488 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.1362, allocations: 272.2 kB / 0.9333 GB, free: 6.293 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.1363, allocations: 31.89 kB / 0.9334 GB, free: 6.262 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.1363, allocations: 8 kB / 0.9334 GB, free: 6.254 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.1367, allocations: 167.7 kB / 0.9335 GB, free: 6.09 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.1367, allocations: 27.91 kB / 0.9336 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.1368, allocations: 31.92 kB / 0.9336 GB, free: 6.031 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.1371, allocations: 187.3 kB / 0.9338 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1371, allocations: 0 / 0.9338 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1371, allocations: 0 / 0.9338 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.1371, allocations: 4 kB / 0.9338 GB, free: 5.844 MB / 0.8855 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.0004499/0.1375, allocations: 455.8 kB / 0.9342 GB, free: 5.363 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1376, allocations: 8.031 kB / 0.9342 GB, free: 5.355 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005497/0.1381, allocations: 111.7 kB / 0.9343 GB, free: 5.246 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.1383, allocations: 159.8 kB / 0.9345 GB, free: 5.062 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1383, allocations: 8 kB / 0.9345 GB, free: 5.055 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.1383, allocations: 4 kB / 0.9345 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.1386, allocations: 123.1 kB / 0.9346 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1386, allocations: 4 kB / 0.9346 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1386, allocations: 0 / 0.9346 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1386, allocations: 0 / 0.9346 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.39e-05/0.1387, allocations: 47.95 kB / 0.9347 GB, free: 4.871 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.1392, allocations: 375.3 kB / 0.935 GB, free: 4.469 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.1394, allocations: 111.1 kB / 0.9351 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.1395, allocations: 43.61 kB / 0.9352 GB, free: 4.301 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.1395, allocations: 0 / 0.9352 GB, free: 4.301 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.1395, allocations: 37.39 kB / 0.9352 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.1395, allocations: 4 kB / 0.9352 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0002267/0.1397, allocations: 93.62 kB / 0.9353 GB, free: 4.152 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.1398, allocations: 55.34 kB / 0.9354 GB, free: 4.086 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.57e-05/0.1399, allocations: 193.9 kB / 0.9355 GB, free: 3.879 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.1399, allocations: 29.7 kB / 0.9356 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.1399, allocations: 146.8 kB / 0.9357 GB, free: 3.695 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.14, allocations: 27.89 kB / 0.9357 GB, free: 3.668 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.14, allocations: 27.36 kB / 0.9358 GB, free: 3.633 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1401, allocations: 0.4923 MB / 0.9362 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.285e-05/0.1402, allocations: 16 kB / 0.9363 GB, free: 3.113 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/0.1402, allocations: 15.98 kB / 0.9363 GB, free: 3.098 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.502e-05/0.1403, allocations: 51.66 kB / 0.9363 GB, free: 3.043 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1403, allocations: 0 / 0.9363 GB, free: 3.043 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001202/0.1404, allocations: 89.97 kB / 0.9364 GB, free: 2.949 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1404, allocations: 8 kB / 0.9364 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1404, allocations: 0 / 0.9364 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1404, allocations: 0 / 0.9364 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1405, allocations: 19.98 kB / 0.9364 GB, free: 2.922 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1405, allocations: 8.062 kB / 0.9364 GB, free: 2.914 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.1406, allocations: 15.88 kB / 0.9365 GB, free: 2.898 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1406, allocations: 8 kB / 0.9365 GB, free: 2.891 MB / 0.8855 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 6.897e-05/0.1407, allocations: 152.6 kB / 0.9366 GB, free: 2.73 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.1407, allocations: 15.89 kB / 0.9366 GB, free: 2.715 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.1407, allocations: 16.77 kB / 0.9366 GB, free: 2.703 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1407, allocations: 4 kB / 0.9366 GB, free: 2.699 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1407, allocations: 4 kB / 0.9366 GB, free: 2.695 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1407, allocations: 0 / 0.9366 GB, free: 2.695 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.1411, allocations: 377.2 kB / 0.937 GB, free: 2.285 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1411, allocations: 0 / 0.937 GB, free: 2.285 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.207e-05/0.1411, allocations: 19.98 kB / 0.937 GB, free: 2.266 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1412, allocations: 0 / 0.937 GB, free: 2.266 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1412, allocations: 7.984 kB / 0.937 GB, free: 2.258 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1412, allocations: 0 / 0.937 GB, free: 2.258 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1412, allocations: 3.984 kB / 0.937 GB, free: 2.254 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.1414, allocations: 247.7 kB / 0.9373 GB, free: 1.992 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.1414, allocations: 11.95 kB / 0.9373 GB, free: 1.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.1414, allocations: 4 kB / 0.9373 GB, free: 1.977 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.899e-05/0.1414, allocations: 7.984 kB / 0.9373 GB, free: 1.969 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.1415, allocations: 11.98 kB / 0.9373 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1415, allocations: 0 / 0.9373 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6e-05/0.1416, allocations: 145.1 kB / 0.9374 GB, free: 1.816 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1416, allocations: 0 / 0.9374 GB, free: 1.816 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002043/0.1418, allocations: 31.94 kB / 0.9375 GB, free: 1.785 MB / 0.8855 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.000219/0.142, allocations: 115.2 kB / 0.9376 GB, free: 1.66 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.1422, allocations: 59.58 kB / 0.9376 GB, free: 1.598 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1422, allocations: 0 / 0.9376 GB, free: 1.598 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.088e-05/0.1422, allocations: 35.66 kB / 0.9377 GB, free: 1.559 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.1425, allocations: 40.38 kB / 0.9377 GB, free: 1.52 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008705/0.1434, allocations: 231.8 kB / 0.9379 GB, free: 1.27 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.679e-05/0.1434, allocations: 63.34 kB / 0.938 GB, free: 1.188 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.699e-05/0.1435, allocations: 28.64 kB / 0.938 GB, free: 1.16 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.1436, allocations: 16.5 kB / 0.938 GB, free: 1.141 MB / 0.8855 GB Notification: Performance of SimCode: time 1.533e-06/0.1436, allocations: 0 / 0.938 GB, free: 1.141 MB / 0.8855 GB Notification: Performance of Templates: time 0.004785/0.1484, allocations: 2.096 MB / 0.9401 GB, free: 15.09 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.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.794303345028311]