Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007383/0.007383, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001899/0.001899, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.603/2.603, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 67.89 kB / 1.018 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3256, allocations: 151.6 MB / 1.166 GB, free: 7.41 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002669/0.3283, allocations: 1.494 MB / 1.168 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003556/0.3287, allocations: 127.6 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.3288, allocations: 0 / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.3288, allocations: 7.938 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.561e-05/0.3289, allocations: 11.88 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.3292, allocations: 63.89 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.3294, allocations: 51.91 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3295, allocations: 19.92 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.644e-05/0.3295, allocations: 31.91 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.3296, allocations: 23.84 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.3296, allocations: 8 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.715e-05/0.3297, allocations: 8 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.3297, allocations: 15.98 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.3297, allocations: 23.86 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.3299, allocations: 58.61 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3299, allocations: 4 kB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3299, allocations: 0 / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3299, allocations: 0 / 1.168 GB, free: 5.453 MB / 0.92 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.0005221/0.3304, allocations: 368.2 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3305, allocations: 12.03 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.3305, allocations: 34.69 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.3306, allocations: 12.84 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.3307, allocations: 168.3 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.277e-05/0.3308, allocations: 38.19 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.3308, allocations: 384 / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.331, allocations: 81.95 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.331, allocations: 3.984 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.331, allocations: 4 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3311, allocations: 4 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.3312, allocations: 43.95 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005829/0.3318, allocations: 316.7 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.332, allocations: 50.66 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.433e-05/0.3321, allocations: 32.83 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.3321, allocations: 0 / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.3321, allocations: 30.56 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3321, allocations: 0 / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0003648/0.3325, allocations: 105.5 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.3325, allocations: 55.39 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.825e-05/0.3326, allocations: 109.8 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3327, allocations: 29.7 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.3327, allocations: 84.14 kB / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.3327, allocations: 11.81 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.3328, allocations: 21.7 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3329, allocations: 318.8 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.333, allocations: 23.92 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.894e-05/0.3331, allocations: 37.81 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.3333, allocations: 61.62 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3333, allocations: 4 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002146/0.3335, allocations: 85.55 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3335, allocations: 4 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3335, allocations: 4 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3335, allocations: 0 / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3336, allocations: 19.92 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3337, allocations: 320 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.3337, allocations: 8.031 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.3337, allocations: 4 kB / 1.17 GB, free: 3.059 MB / 0.92 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.375e-05/0.3338, allocations: 121.7 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.3339, allocations: 3.984 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.3339, allocations: 3.906 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3339, allocations: 4 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3339, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3339, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.3341, allocations: 181.5 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3341, allocations: 0 / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.3342, allocations: 19.98 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3342, allocations: 240 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3342, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3342, allocations: 3.984 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3342, allocations: 0 / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.3345, allocations: 187.3 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.3345, allocations: 81.11 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.3345, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3347, allocations: 11.98 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.3347, allocations: 3.984 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.3347, allocations: 4 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.235e-05/0.3348, allocations: 91.33 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3348, allocations: 0 / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002347/0.335, allocations: 11.91 kB / 1.171 GB, free: 2.242 MB / 0.92 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.0005106/0.3355, allocations: 0.7085 MB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.3357, allocations: 51.95 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3358, allocations: 4 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.805e-05/0.3358, allocations: 35.91 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.3361, allocations: 5.875 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.3375, allocations: 1.329 MB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.3378, allocations: 0.6846 MB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.909e-05/0.3379, allocations: 4 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.3379, allocations: 15.44 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.3379, allocations: 0 / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.3583, allocations: 1.785 MB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/7.959, allocations: 14.34 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches