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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_9_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.001254/0.001254, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001256/0.001257, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.188/1.188, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.05/2.05, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 71.88 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4592/0.4604, allocations: 140.4 MB / 0.9492 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001976/0.4624, allocations: 1.554 MB / 0.9507 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000225/0.4627, allocations: 132.6 kB / 0.9509 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.4627, allocations: 0 / 0.9509 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.4628, allocations: 5.359 kB / 0.9509 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.766e-05/0.4628, allocations: 3.938 kB / 0.9509 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.4631, allocations: 69.89 kB / 0.9509 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.98e-05/0.4631, allocations: 61.91 kB / 0.951 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.77e-05/0.4632, allocations: 12.25 kB / 0.951 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.147e-05/0.4633, allocations: 31.33 kB / 0.951 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.4633, allocations: 25.42 kB / 0.9511 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.4633, allocations: 4.125 kB / 0.9511 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.4634, allocations: 5.656 kB / 0.9511 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.4634, allocations: 14.77 kB / 0.9511 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.4634, allocations: 22.08 kB / 0.9511 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.221e-05/0.4635, allocations: 58.42 kB / 0.9512 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.4635, allocations: 1.344 kB / 0.9512 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4635, allocations: 0 / 0.9512 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.4635, allocations: 0 / 0.9512 GB, free: 7.691 MB / 0.7169 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.0003557/0.4639, allocations: 379.3 kB / 0.9515 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.4639, allocations: 9.438 kB / 0.9515 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.348e-05/0.4639, allocations: 31.78 kB / 0.9516 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.464, allocations: 3.812 kB / 0.9516 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.993e-05/0.464, allocations: 175.6 kB / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/0.4641, allocations: 37.94 kB / 0.9518 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.4641, allocations: 2.562 kB / 0.9518 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.4643, allocations: 77.97 kB / 0.9519 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.4643, allocations: 0 / 0.9519 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4643, allocations: 4 kB / 0.9519 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.4643, allocations: 1.188 kB / 0.9519 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.4645, allocations: 45.45 kB / 0.9519 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.4649, allocations: 326.2 kB / 0.9522 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.465, allocations: 45.27 kB / 0.9523 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.056e-05/0.4651, allocations: 32.31 kB / 0.9523 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.4652, allocations: 0 / 0.9523 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.4652, allocations: 43.86 kB / 0.9523 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.4652, allocations: 0 / 0.9523 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002962/0.4655, allocations: 100.7 kB / 0.9524 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.476e-05/0.4655, allocations: 52.62 kB / 0.9525 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.853e-05/0.4655, allocations: 108.2 kB / 0.9526 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.4656, allocations: 25.7 kB / 0.9526 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.28e-05/0.4656, allocations: 94.42 kB / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.4656, allocations: 14.22 kB / 0.9527 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.4656, allocations: 17.7 kB / 0.9527 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.139e-05/0.4657, allocations: 320.3 kB / 0.953 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.4658, allocations: 19.3 kB / 0.9531 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.536e-05/0.4658, allocations: 34.81 kB / 0.9531 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.466, allocations: 63.5 kB / 0.9531 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.466, allocations: 0 / 0.9531 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001797/0.4662, allocations: 90.83 kB / 0.9532 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.4662, allocations: 3.75 kB / 0.9532 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.4662, allocations: 1.375 kB / 0.9532 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.4662, allocations: 4.031 kB / 0.9532 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.576e-05/0.4663, allocations: 18.05 kB / 0.9533 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.4663, allocations: 2.156 kB / 0.9533 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.4664, allocations: 3.656 kB / 0.9533 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.4664, allocations: 1.562 kB / 0.9533 GB, free: 5.629 MB / 0.7169 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 4.601e-05/0.4664, allocations: 121.1 kB / 0.9534 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.4665, allocations: 5.281 kB / 0.9534 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.4665, allocations: 8.969 kB / 0.9534 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.4665, allocations: 5.156 kB / 0.9534 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.4665, allocations: 0 / 0.9534 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4665, allocations: 1.312 kB / 0.9534 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.4666, allocations: 179.4 kB / 0.9536 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4666, allocations: 0 / 0.9536 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.368e-05/0.4667, allocations: 12.8 kB / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.4667, allocations: 0 / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.4667, allocations: 1.219 kB / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4667, allocations: 3.984 kB / 0.9536 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4667, allocations: 1.156 kB / 0.9536 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.4669, allocations: 181.6 kB / 0.9538 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.467, allocations: 82.67 kB / 0.9538 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.467, allocations: 0 / 0.9538 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.4671, allocations: 14.86 kB / 0.9539 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.4672, allocations: 5.297 kB / 0.9539 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.4672, allocations: 3 kB / 0.9539 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.511e-05/0.4672, allocations: 92.17 kB / 0.954 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4672, allocations: 5.188 kB / 0.954 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000213/0.4674, allocations: 7.062 kB / 0.954 GB, free: 4.895 MB / 0.7169 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.0003316/0.4678, allocations: 0.7082 MB / 0.9547 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.468, allocations: 54.8 kB / 0.9547 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.468, allocations: 0 / 0.9547 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.648e-05/0.468, allocations: 30.53 kB / 0.9547 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.4683, allocations: 9.703 kB / 0.9547 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009662/0.4693, allocations: 1.352 MB / 0.9561 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.539e-05/0.4694, allocations: 0.6881 MB / 0.9567 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.71e-05/0.4694, allocations: 8.562 kB / 0.9567 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.4694, allocations: 17.66 kB / 0.9568 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.4694, allocations: 0 / 0.9568 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.92/1.389, allocations: 1.611 MB / 0.9583 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/1.39, allocations: 219.5 kB / 0.9585 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/3.256, allocations: 0 / 0.9585 GB, free: 1.059 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > 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