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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009733/0.0009732, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005886/0.005886, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.513/2.513, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 8 kB / 0.8729 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5544/0.5547, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001565/0.5563, allocations: 1.215 MB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002811/0.5566, allocations: 131.6 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.5567, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.5567, allocations: 7.938 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.471e-05/0.5568, allocations: 4 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.557, allocations: 63.84 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.325e-05/0.5571, allocations: 55.83 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.73e-05/0.5572, allocations: 19.98 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.874e-05/0.5573, allocations: 19.92 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.5573, allocations: 15.92 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.5574, allocations: 8 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.5574, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.5574, allocations: 19.91 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.5575, allocations: 45.56 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.793e-05/0.5576, allocations: 54.09 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5576, allocations: 4 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5576, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.5576, allocations: 0 / 1.025 GB, free: 14.19 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.0004343/0.558, allocations: 367.3 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.5581, allocations: 8.031 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.5581, allocations: 34.75 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.5581, allocations: 4.938 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.5583, allocations: 180.2 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/0.5583, allocations: 34.25 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.5583, allocations: 4.375 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.5586, allocations: 89.91 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.84e-06/0.5586, allocations: 0 / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5586, allocations: 4 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.5586, allocations: 0 / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.5588, allocations: 59.95 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/0.5594, allocations: 328.7 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.5595, allocations: 54.55 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.5596, allocations: 36.92 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.5597, allocations: 4 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.5597, allocations: 34.56 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.5597, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003625/0.5601, allocations: 117.5 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.5601, allocations: 59.33 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/0.5602, allocations: 113.8 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.5602, allocations: 29.7 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.5603, allocations: 88.05 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.5603, allocations: 11.84 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.5603, allocations: 9.719 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5605, allocations: 330.8 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.433e-05/0.5606, allocations: 23.98 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-05/0.5607, allocations: 37.69 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.5608, allocations: 69.62 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.5608, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002375/0.5611, allocations: 105.5 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.5611, allocations: 7.984 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5611, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.5611, allocations: 4 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.392e-05/0.5612, allocations: 12 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5612, allocations: 3.984 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.933e-05/0.5613, allocations: 12.03 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.5613, allocations: 0 / 1.027 GB, free: 11.71 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 7.768e-05/0.5614, allocations: 117.8 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.5614, allocations: 3.906 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.5615, allocations: 11.89 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5615, allocations: 4 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5615, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.5615, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.5617, allocations: 173.6 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5617, allocations: 4 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.835e-05/0.5617, allocations: 12 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5618, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.5618, allocations: 3.984 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5618, allocations: 11.88 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5618, allocations: 0 / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.562, allocations: 187.5 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.5621, allocations: 81.14 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.5621, allocations: 4 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.5623, allocations: 15.98 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.5623, allocations: 15.92 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.5623, allocations: 4 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.876e-05/0.5624, allocations: 87.27 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5624, allocations: 4 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002182/0.5626, allocations: 4 kB / 1.028 GB, free: 10.88 MB / 0.7794 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.0005407/0.5631, allocations: 0.7282 MB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.5634, allocations: 63.95 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5634, allocations: 0 / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.554e-05/0.5635, allocations: 35.91 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.5637, allocations: 4 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.5652, allocations: 1.368 MB / 1.03 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.5654, allocations: 0.6887 MB / 1.03 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.712e-05/0.5655, allocations: 4 kB / 1.03 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.5655, allocations: 19.42 kB / 1.03 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5655, allocations: 0 / 1.03 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01027/0.5758, allocations: 1.494 MB / 1.032 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/0.576, allocations: 214.4 kB / 1.032 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.357, allocations: 0 / 1.032 GB, free: 6.211 MB / 0.7794 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