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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001046/0.001046, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 182.9 kB / 16.92 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.68/2.68, allocations: 443.2 MB / 0.7181 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003697, allocations: 8.625 kB / 0.8801 GB, free: 42.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3088, allocations: 155.1 MB / 1.032 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001966/0.3108, allocations: 1.23 MB / 1.033 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004327/0.3112, allocations: 128 kB / 1.033 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.3113, allocations: 0 / 1.033 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.3114, allocations: 7.938 kB / 1.033 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.441e-05/0.3114, allocations: 3.984 kB / 1.033 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.3118, allocations: 67.36 kB / 1.033 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.312, allocations: 59.84 kB / 1.033 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3121, allocations: 11.98 kB / 1.033 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.575e-05/0.3122, allocations: 23.92 kB / 1.033 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.774e-05/0.3123, allocations: 19.91 kB / 1.033 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.3123, allocations: 4 kB / 1.033 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.3123, allocations: 0 / 1.033 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.3123, allocations: 11.94 kB / 1.033 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.3124, allocations: 49.61 kB / 1.033 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.632e-05/0.3125, allocations: 36.2 kB / 1.033 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3125, allocations: 4 kB / 1.033 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3125, allocations: 0 / 1.033 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.3125, allocations: 0 / 1.033 GB, free: 3.086 MB / 0.7794 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.0005803/0.3131, allocations: 367.3 kB / 1.034 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3132, allocations: 15.98 kB / 1.034 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.3132, allocations: 4.938 kB / 1.034 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.3134, allocations: 176.2 kB / 1.034 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.297e-05/0.3135, allocations: 30.27 kB / 1.034 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.855e-05/0.3135, allocations: 8.375 kB / 1.034 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.3138, allocations: 78.2 kB / 1.034 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3138, allocations: 11.92 kB / 1.034 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.3138, allocations: 4 kB / 1.034 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3139, allocations: 0 / 1.034 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.3141, allocations: 55.95 kB / 1.034 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007072/0.3148, allocations: 328.6 kB / 1.034 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.3149, allocations: 58.55 kB / 1.034 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3151, allocations: 36.92 kB / 1.034 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.3151, allocations: 0 / 1.034 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.3151, allocations: 34.56 kB / 1.034 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3151, allocations: 0 / 1.034 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004054/0.3155, allocations: 113.6 kB / 1.034 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3156, allocations: 55.41 kB / 1.035 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.813e-05/0.3157, allocations: 109.8 kB / 1.035 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.3157, allocations: 29.7 kB / 1.035 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.3158, allocations: 99.97 kB / 1.035 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.3158, allocations: 3.906 kB / 1.035 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.3158, allocations: 17.66 kB / 1.035 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.316, allocations: 322.8 kB / 1.035 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.932e-05/0.3161, allocations: 23.98 kB / 1.035 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.3162, allocations: 41.7 kB / 1.035 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.3164, allocations: 73.61 kB / 1.035 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3164, allocations: 0 / 1.035 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002422/0.3167, allocations: 97.5 kB / 1.035 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3167, allocations: 4 kB / 1.035 GB, free: 0.6875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3167, allocations: 0 / 1.035 GB, free: 0.6875 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.652e-05/0.3168, allocations: 8.031 kB / 1.035 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3169, allocations: 15.98 kB / 1.035 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3169, allocations: 0 / 1.035 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.594e-05/0.317, allocations: 15.98 kB / 1.035 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.317, allocations: 3.938 kB / 1.035 GB, free: 0.6445 MB / 0.7794 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 8.397e-05/0.3171, allocations: 115.3 kB / 1.035 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.3171, allocations: 7.906 kB / 1.035 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.592e-05/0.3171, allocations: 11.91 kB / 1.035 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3172, allocations: 0 / 1.035 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3172, allocations: 0 / 1.035 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3172, allocations: 4.219 kB / 1.035 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.3174, allocations: 177.6 kB / 1.036 GB, free: 280 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3174, allocations: 4 kB / 1.036 GB, free: 276 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.127e-05/0.3175, allocations: 11.98 kB / 1.036 GB, free: 264 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.3175, allocations: 4.109 kB / 1.036 GB, free: 260 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3175, allocations: 11.94 kB / 1.036 GB, free: 248 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3175, allocations: 4 kB / 1.036 GB, free: 244 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3175, allocations: 0 / 1.036 GB, free: 244 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.3178, allocations: 187.4 kB / 1.036 GB, free: 40 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.3179, allocations: 85.02 kB / 1.036 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.3179, allocations: 0 / 1.036 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.318, allocations: 15.98 kB / 1.036 GB, free: 15.92 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.3181, allocations: 0 / 1.036 GB, free: 15.92 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.3181, allocations: 7.984 kB / 1.036 GB, free: 15.91 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.938e-05/0.3181, allocations: 91.27 kB / 1.036 GB, free: 15.82 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3182, allocations: 0 / 1.036 GB, free: 15.82 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002247/0.3184, allocations: 8 kB / 1.036 GB, free: 15.82 MB / 0.795 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 0.0001298/0.3185, allocations: 103.2 kB / 1.036 GB, free: 15.7 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.3188, allocations: 63.83 kB / 1.036 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3188, allocations: 0 / 1.036 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3189, allocations: 32.05 kB / 1.036 GB, free: 15.61 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.3192, allocations: 11.94 kB / 1.036 GB, free: 15.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.3196, allocations: 182.3 kB / 1.036 GB, free: 15.39 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.3199, allocations: 0.6887 MB / 1.037 GB, free: 14.67 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.32, allocations: 11.44 kB / 1.037 GB, free: 14.66 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.32, allocations: 0 / 1.037 GB, free: 14.66 MB / 0.795 GB Notification: Performance of Templates: time 0.002408/0.3224, allocations: 0.8328 MB / 1.038 GB, free: 13.84 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches