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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0013/0.0013, allocations: 109.4 kB / 16.41 MB, free: 6.008 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.00124/0.00124, allocations: 184.3 kB / 17.34 MB, free: 5.629 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 60.12 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125/1.127, allocations: 140.4 MB / 1.089 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002855/1.13, allocations: 1.507 MB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003679/1.13, allocations: 127.5 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/1.13, allocations: 0 / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/1.13, allocations: 5.203 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/1.13, allocations: 9.938 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/1.131, allocations: 77.27 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/1.131, allocations: 52.72 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/1.131, allocations: 21.83 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.415e-05/1.131, allocations: 28.94 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.025e-05/1.131, allocations: 22.39 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/1.131, allocations: 5.188 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.979e-05/1.131, allocations: 5.281 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/1.131, allocations: 14 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/1.131, allocations: 30.36 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/1.131, allocations: 54.66 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.131, allocations: 5.188 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.923e-06/1.131, allocations: 0 / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.128e-05/1.131, allocations: 4 kB / 1.09 GB, free: 4.266 MB / 0.8575 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.0005654/1.132, allocations: 369.5 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.132, allocations: 9.281 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/1.132, allocations: 8.234 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.79e-05/1.132, allocations: 170.6 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.249e-05/1.132, allocations: 30.52 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/1.132, allocations: 3.375 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/1.132, allocations: 77.36 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.132, allocations: 4.719 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/1.132, allocations: 0.5156 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.132, allocations: 1.625 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/1.133, allocations: 49.27 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/1.133, allocations: 318.1 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/1.133, allocations: 48.44 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/1.134, allocations: 28.03 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/1.134, allocations: 1.703 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/1.134, allocations: 44.33 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/1.134, allocations: 0 / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003935/1.134, allocations: 94.34 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/1.134, allocations: 52.22 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.502e-05/1.134, allocations: 116.8 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/1.134, allocations: 25.7 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/1.134, allocations: 91.98 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/1.134, allocations: 18.77 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/1.134, allocations: 18.5 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.299e-05/1.134, allocations: 317.6 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.971e-05/1.134, allocations: 21.22 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/1.135, allocations: 41.48 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/1.135, allocations: 61.34 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.135, allocations: 0 / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002365/1.135, allocations: 87.62 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.135, allocations: 5.25 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.135, allocations: 128 / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/1.135, allocations: 5.688 kB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/1.135, allocations: 21.03 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/1.135, allocations: 1.5 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/1.135, allocations: 10.09 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/1.135, allocations: 2.688 kB / 1.093 GB, free: 2.402 MB / 0.8575 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.666e-05/1.135, allocations: 116.6 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/1.135, allocations: 2.281 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/1.135, allocations: 5.812 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/1.135, allocations: 1.828 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.135, allocations: 4 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.135, allocations: 0.75 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/1.136, allocations: 179.6 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.136, allocations: 0 / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/1.136, allocations: 15.72 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.136, allocations: 0 / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/1.136, allocations: 1.797 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.136, allocations: 0 / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.136, allocations: 0.9375 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/1.136, allocations: 182.8 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/1.136, allocations: 78.91 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/1.136, allocations: 1.797 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/1.136, allocations: 9.969 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/1.136, allocations: 2.875 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/1.136, allocations: 3.797 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.072e-05/1.136, allocations: 96.14 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.136, allocations: 3.938 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002307/1.137, allocations: 7.969 kB / 1.093 GB, free: 1.723 MB / 0.8575 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.0001148/1.137, allocations: 104.2 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002578/1.137, allocations: 53.14 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.137, allocations: 0.875 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-05/1.137, allocations: 29.11 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/1.137, allocations: 6.672 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/1.138, allocations: 169.3 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/1.138, allocations: 0.6825 MB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/1.138, allocations: 13.88 kB / 1.094 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/1.138, allocations: 0 / 1.094 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of Templates: time 0.002823/1.141, allocations: 0.8529 MB / 1.095 GB, free: 0.6797 MB / 0.8575 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches