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.001048/0.001048, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.000942/0.000942, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9459/0.9459, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.857/1.857, allocations: 377.9 MB / 0.6239 GB, free: 8.418 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.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 2.023e-06/2.023e-06, allocations: 0 / 0.812 GB, free: 360 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.252e-05, allocations: 3.906 kB / 0.812 GB, free: 356 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002101/0.002124, allocations: 1.684 MB / 0.8136 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1379/0.14, allocations: 144.7 MB / 0.9549 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.1401, allocations: 0 / 0.9549 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.1403, allocations: 19.8 kB / 0.955 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.1405, allocations: 47.64 kB / 0.955 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.1409, allocations: 155.2 kB / 0.9551 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.141, allocations: 119.6 kB / 0.9553 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1411, allocations: 21.58 kB / 0.9553 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009835/0.1421, allocations: 258.1 kB / 0.9555 GB, free: 12.94 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.812e-05/0.1422, allocations: 39.89 kB / 0.9556 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1422, allocations: 8 kB / 0.9556 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.1425, allocations: 171.6 kB / 0.9557 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.1425, allocations: 19.92 kB / 0.9558 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.1426, allocations: 27.92 kB / 0.9558 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.1428, allocations: 191.3 kB / 0.956 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1429, allocations: 0 / 0.956 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1429, allocations: 0 / 0.956 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1429, allocations: 0 / 0.956 GB, free: 12.49 MB / 0.8698 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.0005523/0.1434, allocations: 463.8 kB / 0.9564 GB, free: 12 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.1435, allocations: 12.03 kB / 0.9564 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000553/0.144, allocations: 107.7 kB / 0.9565 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.1442, allocations: 161.7 kB / 0.9567 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1442, allocations: 7.938 kB / 0.9567 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.1442, allocations: 8 kB / 0.9567 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.1445, allocations: 106.3 kB / 0.9568 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1445, allocations: 0 / 0.9568 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1445, allocations: 4 kB / 0.9568 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1445, allocations: 0 / 0.9568 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.278e-05/0.1446, allocations: 43.95 kB / 0.9568 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.1451, allocations: 352 kB / 0.9572 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.1453, allocations: 99.17 kB / 0.9573 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.1454, allocations: 35.61 kB / 0.9573 GB, free: 11 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1454, allocations: 4 kB / 0.9573 GB, free: 11 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1454, allocations: 37.33 kB / 0.9573 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.1454, allocations: 0 / 0.9573 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0001965/0.1456, allocations: 93.59 kB / 0.9574 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.1456, allocations: 55.41 kB / 0.9575 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.002e-05/0.1457, allocations: 183.4 kB / 0.9577 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1458, allocations: 29.7 kB / 0.9577 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.1458, allocations: 154.8 kB / 0.9578 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.1458, allocations: 31.88 kB / 0.9579 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.1459, allocations: 27.36 kB / 0.9579 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.146, allocations: 0.4961 MB / 0.9584 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.146, allocations: 11.98 kB / 0.9584 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.146, allocations: 15.98 kB / 0.9584 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.551e-05/0.1461, allocations: 31.69 kB / 0.9584 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1461, allocations: 0 / 0.9584 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001071/0.1462, allocations: 89.55 kB / 0.9585 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1462, allocations: 8 kB / 0.9585 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1462, allocations: 0 / 0.9585 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1462, allocations: 0 / 0.9585 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.972e-05/0.1463, allocations: 27.91 kB / 0.9586 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.1463, allocations: 0.5469 kB / 0.9586 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.1464, allocations: 11.94 kB / 0.9586 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.1464, allocations: 3.984 kB / 0.9586 GB, free: 9.621 MB / 0.8698 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 8.56e-05/0.1465, allocations: 160.6 kB / 0.9587 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.1465, allocations: 19.84 kB / 0.9587 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.892e-05/0.1466, allocations: 16.78 kB / 0.9588 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1466, allocations: 0 / 0.9588 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1466, allocations: 0 / 0.9588 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1466, allocations: 0 / 0.9588 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.147, allocations: 338 kB / 0.9591 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.147, allocations: 11.88 kB / 0.9591 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.938e-05/0.147, allocations: 19.98 kB / 0.9591 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.147, allocations: 4 kB / 0.9591 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.147, allocations: 0 / 0.9591 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.147, allocations: 0 / 0.9591 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.147, allocations: 0 / 0.9591 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.1472, allocations: 243.7 kB / 0.9593 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.1472, allocations: 11.89 kB / 0.9594 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1472, allocations: 0 / 0.9594 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.801e-05/0.1473, allocations: 11.98 kB / 0.9594 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.1473, allocations: 7.984 kB / 0.9594 GB, free: 8.727 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1473, allocations: 7.984 kB / 0.9594 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.878e-05/0.1474, allocations: 144.9 kB / 0.9595 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.1474, allocations: 0 / 0.9595 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001802/0.1476, allocations: 31.94 kB / 0.9596 GB, free: 8.547 MB / 0.8698 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.0001552/0.1478, allocations: 111.2 kB / 0.9597 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.1479, allocations: 51.58 kB / 0.9597 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1479, allocations: 4 kB / 0.9597 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.688e-05/0.1479, allocations: 31.67 kB / 0.9597 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.1482, allocations: 39.89 kB / 0.9598 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000654/0.1488, allocations: 233.3 kB / 0.96 GB, free: 8.047 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.891e-05/0.1489, allocations: 63.34 kB / 0.9601 GB, free: 7.965 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.027e-05/0.1489, allocations: 20.66 kB / 0.9601 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.785e-05/0.149, allocations: 94.19 kB / 0.9602 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of SimCode: time 1.182e-06/0.149, allocations: 0 / 0.9602 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of Templates: time 0.00429/0.1533, allocations: 2.16 MB / 0.9623 GB, free: 5.738 MB / 0.8698 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.086297558154911]