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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001403/0.001403, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001727/0.001727, allocations: 193.1 kB / 16.14 MB, free: 6.719 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.878/2.878, allocations: 461.9 MB / 0.7342 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 62.38 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3221, allocations: 157.4 MB / 1.052 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.00322/0.3254, allocations: 1.552 MB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003381/0.3258, allocations: 139.5 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.3258, allocations: 0 / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.909e-05/0.3259, allocations: 0 / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.35e-05/0.3259, allocations: 11.94 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.3263, allocations: 59.86 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.997e-05/0.3264, allocations: 55.83 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3265, allocations: 23.97 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.547e-05/0.3266, allocations: 23.92 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.585e-05/0.3266, allocations: 15.92 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.3266, allocations: 7.938 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.703e-05/0.3267, allocations: 4 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.3267, allocations: 19.97 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.3267, allocations: 19.86 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.3268, allocations: 51.86 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3269, allocations: 4 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3269, allocations: 0 / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.3269, allocations: 0 / 1.054 GB, free: 6.891 MB / 0.8106 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.0005258/0.3274, allocations: 371.6 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3275, allocations: 8.031 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.3275, allocations: 12.84 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.3276, allocations: 168.3 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/0.3277, allocations: 34.27 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.3277, allocations: 8.312 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.328, allocations: 78.14 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.328, allocations: 3.938 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.328, allocations: 7.938 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.328, allocations: 0 / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.3282, allocations: 51.95 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006833/0.3289, allocations: 320.6 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3291, allocations: 50.55 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.911e-05/0.3292, allocations: 28.94 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.3292, allocations: 4 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3292, allocations: 30.56 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.3292, allocations: 0 / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004011/0.3296, allocations: 105.6 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.3297, allocations: 51.41 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.865e-05/0.3298, allocations: 105.8 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.3298, allocations: 29.7 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.3299, allocations: 91.98 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.3299, allocations: 19.8 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.33, allocations: 13.72 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3301, allocations: 322.8 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.742e-05/0.3302, allocations: 23.97 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.063e-05/0.3303, allocations: 29.7 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.3305, allocations: 69.78 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3305, allocations: 0 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002079/0.3307, allocations: 81.66 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3307, allocations: 4 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3307, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.3307, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.3309, allocations: 19.92 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3309, allocations: 0 / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.576e-05/0.3309, allocations: 4.125 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.3309, allocations: 16.02 kB / 1.056 GB, free: 4.527 MB / 0.8106 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 7.25e-05/0.331, allocations: 115.3 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.3311, allocations: 7.906 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.3311, allocations: 7.906 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3311, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3311, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3311, allocations: 4 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.3313, allocations: 173.6 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3313, allocations: 3.938 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.088e-05/0.3314, allocations: 15.98 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3314, allocations: 0 / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3314, allocations: 8 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3314, allocations: 3.938 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3314, allocations: 0 / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.3317, allocations: 175.3 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.3317, allocations: 85.05 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.3317, allocations: 7.984 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.3319, allocations: 11.98 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.3319, allocations: 4 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.3319, allocations: 0 / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.005e-05/0.332, allocations: 91.27 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.332, allocations: 0 / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002266/0.3322, allocations: 8 kB / 1.057 GB, free: 3.723 MB / 0.8106 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.0001259/0.3323, allocations: 99.25 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.3326, allocations: 55.83 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3326, allocations: 4 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.59e-05/0.3327, allocations: 23.97 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.333, allocations: 8 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.3334, allocations: 159.2 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.3336, allocations: 0.6848 MB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.189e-05/0.3337, allocations: 4 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.3337, allocations: 7.438 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.3337, allocations: 4 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of Templates: time 0.002851/0.3366, allocations: 0.7261 MB / 1.059 GB, free: 1.906 MB / 0.8106 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches