Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.001368/0.001368, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.00143/0.00143, allocations: 169 kB / 23.02 MB, free: 1.551 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.9365/0.9365, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.968/1.968, allocations: 429.5 MB / 0.6732 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.216e-05, allocations: 6.016 kB / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.005239/0.005261, allocations: 1.561 MB / 0.8797 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002851/0.005546, allocations: 140.7 kB / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.925e-05/0.005585, allocations: 0 / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.005616, allocations: 4.656 kB / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.795e-05/0.005674, allocations: 6.562 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.005947, allocations: 73.48 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.006051, allocations: 57.59 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.207e-05/0.006143, allocations: 15.97 kB / 0.88 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.238e-05/0.006215, allocations: 40.41 kB / 0.88 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.866e-05/0.006264, allocations: 9.578 kB / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.00629, allocations: 8 kB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.006302, allocations: 4 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.006325, allocations: 19.91 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.006353, allocations: 16.58 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.006459, allocations: 47.81 kB / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.006461, allocations: 1.344 kB / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.22e-07/0.006462, allocations: 0 / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.006466, allocations: 0 / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000403/0.006869, allocations: 394 kB / 0.8805 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.006906, allocations: 12.03 kB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.00695, allocations: 12.89 kB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.953e-05/0.00704, allocations: 116.5 kB / 0.8806 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003086/0.01013, allocations: 57.62 kB / 0.8807 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.01015, allocations: 4.375 kB / 0.8807 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.01033, allocations: 104.6 kB / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.01034, allocations: 192 / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.01035, allocations: 3.281 kB / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.01036, allocations: 4.125 kB / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.709e-05/0.01041, allocations: 19.98 kB / 0.8808 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.01084, allocations: 287.7 kB / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.12e-05/0.01091, allocations: 46.98 kB / 0.8811 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.01094, allocations: 19.69 kB / 0.8811 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.01095, allocations: 7.938 kB / 0.8811 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.01098, allocations: 37.47 kB / 0.8812 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.01098, allocations: 0 / 0.8812 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001639/0.01114, allocations: 53.66 kB / 0.8812 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.01117, allocations: 59.33 kB / 0.8813 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.01125, allocations: 165.9 kB / 0.8814 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.01126, allocations: 29.64 kB / 0.8815 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.01131, allocations: 134.9 kB / 0.8816 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.01133, allocations: 15.84 kB / 0.8816 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.01136, allocations: 23.36 kB / 0.8816 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.01147, allocations: 0.4923 MB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.01149, allocations: 4 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.163e-05/0.01152, allocations: 27.36 kB / 0.8821 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.877e-05/0.01157, allocations: 31.38 kB / 0.8822 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01157, allocations: 0 / 0.8822 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.441e-05/0.01166, allocations: 61.52 kB / 0.8822 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.01167, allocations: 8 kB / 0.8822 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01168, allocations: 0 / 0.8822 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.01169, allocations: 0 / 0.8822 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.01176, allocations: 12.03 kB / 0.8823 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.01177, allocations: 7.984 kB / 0.8823 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.0118, allocations: 128 / 0.8823 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.01181, allocations: 12 kB / 0.8823 GB, free: 1.91 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.933e-05/0.01188, allocations: 156.5 kB / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.0119, allocations: 7.938 kB / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.806e-05/0.01192, allocations: 8 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01192, allocations: 0 / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01192, allocations: 4 kB / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01193, allocations: 3.984 kB / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.01205, allocations: 128.6 kB / 0.8826 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01206, allocations: 0 / 0.8826 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.0121, allocations: 8 kB / 0.8826 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.0121, allocations: 3.938 kB / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.01211, allocations: 4 kB / 0.8826 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01211, allocations: 0 / 0.8826 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01211, allocations: 0 / 0.8826 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.01225, allocations: 196.1 kB / 0.8828 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.01226, allocations: 11.98 kB / 0.8828 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.01228, allocations: 7.922 kB / 0.8828 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-05/0.01236, allocations: 8 kB / 0.8828 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.0124, allocations: 7.984 kB / 0.8828 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.01241, allocations: 4 kB / 0.8828 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.743e-05/0.01246, allocations: 135.5 kB / 0.8829 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.01246, allocations: 0 / 0.8829 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002548/0.01272, allocations: 11.94 kB / 0.8829 GB, free: 1.152 MB / 0.8386 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 8.852e-05/0.01281, allocations: 99.25 kB / 0.883 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.01292, allocations: 27.61 kB / 0.8831 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01292, allocations: 0 / 0.8831 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.151e-05/0.01295, allocations: 23.75 kB / 0.8831 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.01322, allocations: 12.22 kB / 0.8831 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.01354, allocations: 134.2 kB / 0.8832 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.165e-05/0.01358, allocations: 59.34 kB / 0.8833 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.01361, allocations: 4 kB / 0.8833 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.01364, allocations: 8.5 kB / 0.8833 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of SimCode: time 7.32e-07/0.01365, allocations: 4 kB / 0.8833 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of Templates: time 0.002994/0.01664, allocations: 0.9304 MB / 0.8842 GB, free: 15.8 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.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.066411453764886]