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.0009807/0.0009807, 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.001019/0.001019, 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.9107/0.9107, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.833/1.833, allocations: 359 MB / 0.6052 GB, free: 11.01 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.533e-06/1.533e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.995e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00201/0.00203, allocations: 1.68 MB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.125/0.127, allocations: 147.5 MB / 0.9327 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.967e-05/0.1271, allocations: 0 / 0.9327 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.1272, allocations: 23.73 kB / 0.9327 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.1275, allocations: 47.7 kB / 0.9328 GB, free: 6.801 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.1278, allocations: 159.2 kB / 0.9329 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.1279, allocations: 119.6 kB / 0.9331 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1281, allocations: 21.56 kB / 0.9331 GB, free: 6.504 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008418/0.1289, allocations: 267.9 kB / 0.9333 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 5.126e-05/0.1289, allocations: 31.91 kB / 0.9334 GB, free: 6.285 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.129, allocations: 12 kB / 0.9334 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.1292, allocations: 167.6 kB / 0.9335 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 4.22e-05/0.1293, allocations: 27.91 kB / 0.9336 GB, free: 6.082 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.1293, allocations: 27.92 kB / 0.9336 GB, free: 6.055 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.1296, allocations: 195.3 kB / 0.9338 GB, free: 5.863 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1296, allocations: 0 / 0.9338 GB, free: 5.863 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1296, allocations: 0 / 0.9338 GB, free: 5.863 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1296, allocations: 0 / 0.9338 GB, free: 5.863 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.0004295/0.13, allocations: 463.8 kB / 0.9342 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1301, allocations: 8.031 kB / 0.9342 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005401/0.1306, allocations: 103.8 kB / 0.9343 GB, free: 5.266 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.1308, allocations: 159.7 kB / 0.9345 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1308, allocations: 12 kB / 0.9345 GB, free: 5.07 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1308, allocations: 4 kB / 0.9345 GB, free: 5.066 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.131, allocations: 118.3 kB / 0.9346 GB, free: 4.941 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.131, allocations: 3.984 kB / 0.9346 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.131, allocations: 4 kB / 0.9346 GB, free: 4.934 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1311, allocations: 0 / 0.9346 GB, free: 4.934 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1312, allocations: 51.91 kB / 0.9347 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.1316, allocations: 371.4 kB / 0.935 GB, free: 4.484 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.1319, allocations: 115.1 kB / 0.9351 GB, free: 4.359 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.1319, allocations: 39.61 kB / 0.9352 GB, free: 4.316 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.132, allocations: 0 / 0.9352 GB, free: 4.316 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.132, allocations: 37.39 kB / 0.9352 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.132, allocations: 0 / 0.9352 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0002287/0.1322, allocations: 105.5 kB / 0.9353 GB, free: 4.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.1322, allocations: 55.41 kB / 0.9354 GB, free: 4.094 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.41e-05/0.1323, allocations: 188 kB / 0.9355 GB, free: 3.895 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1323, allocations: 29.7 kB / 0.9356 GB, free: 3.859 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.1324, allocations: 150.8 kB / 0.9357 GB, free: 3.707 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.1324, allocations: 35.88 kB / 0.9357 GB, free: 3.672 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.1325, allocations: 27.38 kB / 0.9358 GB, free: 3.637 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1326, allocations: 0.4962 MB / 0.9363 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.728e-05/0.1326, allocations: 11.98 kB / 0.9363 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.705e-05/0.1327, allocations: 98.45 kB / 0.9364 GB, free: 2.996 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.991e-05/0.1328, allocations: 43.67 kB / 0.9364 GB, free: 2.949 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1328, allocations: 0 / 0.9364 GB, free: 2.949 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001204/0.1329, allocations: 97.48 kB / 0.9365 GB, free: 2.848 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1329, allocations: 4 kB / 0.9365 GB, free: 2.844 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1329, allocations: 4.031 kB / 0.9365 GB, free: 2.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1329, allocations: 4 kB / 0.9365 GB, free: 2.836 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.133, allocations: 15.98 kB / 0.9365 GB, free: 2.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.133, allocations: 4 kB / 0.9365 GB, free: 2.816 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.869e-05/0.1331, allocations: 15.92 kB / 0.9365 GB, free: 2.801 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.1331, allocations: 4 kB / 0.9365 GB, free: 2.797 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 0.0001475/0.1332, allocations: 156.6 kB / 0.9367 GB, free: 2.633 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.1333, allocations: 19.84 kB / 0.9367 GB, free: 2.613 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.1333, allocations: 20.77 kB / 0.9367 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1333, allocations: 7.938 kB / 0.9367 GB, free: 2.59 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1333, allocations: 0 / 0.9367 GB, free: 2.59 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1333, allocations: 0 / 0.9367 GB, free: 2.59 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.1336, allocations: 365.4 kB / 0.9371 GB, free: 2.191 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1336, allocations: 3.938 kB / 0.9371 GB, free: 2.188 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.762e-05/0.1337, allocations: 19.98 kB / 0.9371 GB, free: 2.168 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1337, allocations: 4 kB / 0.9371 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.1337, allocations: 3.984 kB / 0.9371 GB, free: 2.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1337, allocations: 3.938 kB / 0.9371 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1337, allocations: 0.625 kB / 0.9371 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.1338, allocations: 247.8 kB / 0.9374 GB, free: 1.895 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.1338, allocations: 7.953 kB / 0.9374 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.1339, allocations: 4 kB / 0.9374 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.111e-05/0.1339, allocations: 7.984 kB / 0.9374 GB, free: 1.875 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.134, allocations: 7.984 kB / 0.9374 GB, free: 1.867 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.134, allocations: 4 kB / 0.9374 GB, free: 1.863 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002519/0.1342, allocations: 149.2 kB / 0.9375 GB, free: 1.719 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1342, allocations: 0 / 0.9375 GB, free: 1.719 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001763/0.1344, allocations: 27.94 kB / 0.9376 GB, free: 1.691 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.0001343/0.1345, allocations: 119.1 kB / 0.9377 GB, free: 1.562 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.1347, allocations: 51.66 kB / 0.9377 GB, free: 1.508 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.1347, allocations: 0 / 0.9377 GB, free: 1.508 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.938e-05/0.1347, allocations: 43.59 kB / 0.9378 GB, free: 1.461 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.135, allocations: 35.91 kB / 0.9378 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005969/0.1356, allocations: 229.8 kB / 0.938 GB, free: 1.176 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.1356, allocations: 63.34 kB / 0.9381 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.732e-05/0.1357, allocations: 32.62 kB / 0.9381 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.1357, allocations: 12.5 kB / 0.9381 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of SimCode: time 8.42e-07/0.1357, allocations: 4 kB / 0.9381 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of Templates: time 0.003532/0.1393, allocations: 2.029 MB / 0.9401 GB, free: 15.07 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: 5.208283388987184]