Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008839/0.000884, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009049/0.000905, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.514/2.514, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003582, allocations: 8 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9075/0.9079, allocations: 142.3 MB / 0.9535 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001605/0.9095, allocations: 1.197 MB / 0.9547 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002918/0.9098, allocations: 105.1 kB / 0.9548 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.9099, allocations: 1.094 kB / 0.9548 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.9099, allocations: 3.984 kB / 0.9548 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.76e-05/0.91, allocations: 6.078 kB / 0.9548 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.9103, allocations: 57.05 kB / 0.9548 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.553e-05/0.9104, allocations: 39.2 kB / 0.9549 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.9105, allocations: 14.77 kB / 0.9549 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.426e-05/0.9106, allocations: 22.61 kB / 0.9549 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.067e-05/0.9107, allocations: 16.67 kB / 0.9549 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.9107, allocations: 2.219 kB / 0.9549 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.524e-05/0.9107, allocations: 2.969 kB / 0.9549 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.9107, allocations: 9.422 kB / 0.9549 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.9108, allocations: 32.55 kB / 0.955 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.412e-05/0.9108, allocations: 38.61 kB / 0.955 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.9108, allocations: 0 / 0.955 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9109, allocations: 0 / 0.955 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.9109, allocations: 0 / 0.955 GB, free: 7.109 MB / 0.7169 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.0004577/0.9113, allocations: 370.4 kB / 0.9554 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.9114, allocations: 10.22 kB / 0.9554 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.9114, allocations: 5.938 kB / 0.9554 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.9115, allocations: 170.7 kB / 0.9555 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.938e-05/0.9116, allocations: 37.39 kB / 0.9556 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.9116, allocations: 2.938 kB / 0.9556 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.9119, allocations: 83.53 kB / 0.9557 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.9119, allocations: 0 / 0.9557 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.9119, allocations: 7.953 kB / 0.9557 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.9119, allocations: 1.094 kB / 0.9557 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.9121, allocations: 59.61 kB / 0.9557 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.9127, allocations: 331.8 kB / 0.956 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.9129, allocations: 57.38 kB / 0.9561 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.9129, allocations: 0 / 0.9561 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.9129, allocations: 40.06 kB / 0.9561 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.9129, allocations: 0 / 0.9561 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003784/0.9133, allocations: 108 kB / 0.9562 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.9133, allocations: 56.62 kB / 0.9563 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.707e-05/0.9134, allocations: 114.5 kB / 0.9564 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.9134, allocations: 26.98 kB / 0.9564 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.9135, allocations: 90.84 kB / 0.9565 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.9135, allocations: 16.75 kB / 0.9565 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.9135, allocations: 4 kB / 0.9565 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.073e-05/0.9136, allocations: 320.2 kB / 0.9568 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.9137, allocations: 29.7 kB / 0.9569 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.933e-05/0.9138, allocations: 38.64 kB / 0.9569 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.39e-05/0.9139, allocations: 33.41 kB / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9139, allocations: 1.719 kB / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002223/0.9141, allocations: 98.05 kB / 0.957 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.9141, allocations: 5.156 kB / 0.957 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.9141, allocations: 0.7812 kB / 0.957 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.9142, allocations: 5 kB / 0.957 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.9143, allocations: 16.77 kB / 0.9571 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.9143, allocations: 1.812 kB / 0.9571 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.9143, allocations: 13.77 kB / 0.9571 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.9144, allocations: 1.375 kB / 0.9571 GB, free: 5.145 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.34e-05/0.9144, allocations: 112.2 kB / 0.9572 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.9145, allocations: 6.266 kB / 0.9572 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.9145, allocations: 13.22 kB / 0.9572 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.9145, allocations: 1.297 kB / 0.9572 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.9145, allocations: 0 / 0.9572 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.9145, allocations: 4.922 kB / 0.9572 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.9147, allocations: 171.9 kB / 0.9574 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9147, allocations: 0 / 0.9574 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.9147, allocations: 14.95 kB / 0.9574 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.9148, allocations: 3.938 kB / 0.9574 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.9148, allocations: 5.141 kB / 0.9574 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9148, allocations: 4 kB / 0.9574 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9148, allocations: 4.969 kB / 0.9574 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.915, allocations: 182.8 kB / 0.9576 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.915, allocations: 86.28 kB / 0.9577 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.9151, allocations: 1.062 kB / 0.9577 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.9152, allocations: 22.22 kB / 0.9577 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.9152, allocations: 2.156 kB / 0.9577 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.9153, allocations: 5.938 kB / 0.9577 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.277e-05/0.9153, allocations: 89.02 kB / 0.9578 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9153, allocations: 1.219 kB / 0.9578 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002166/0.9155, allocations: 11.06 kB / 0.9578 GB, free: 4.414 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001105/0.9156, allocations: 99.94 kB / 0.9579 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.9159, allocations: 61.95 kB / 0.9579 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9159, allocations: 1.062 kB / 0.9579 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.396e-05/0.916, allocations: 35.03 kB / 0.958 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.9162, allocations: 2.844 kB / 0.958 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.9165, allocations: 150.3 kB / 0.9581 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.9167, allocations: 0.6911 MB / 0.9588 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.225e-05/0.9167, allocations: 8 kB / 0.9588 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.9167, allocations: 8.406 kB / 0.9588 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.9167, allocations: 1.312 kB / 0.9588 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of Templates: time 0.002807/0.9196, allocations: 0.6882 MB / 0.9595 GB, free: 3.055 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches