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.001508/0.001508, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.297/2.297, allocations: 390.3 MB / 0.6647 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 71.89 kB / 0.8126 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5973/0.5986, allocations: 140.4 MB / 0.9497 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002315/0.601, allocations: 1.49 MB / 0.9512 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002704/0.6013, allocations: 134.7 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.6013, allocations: 1.312 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.6013, allocations: 3.938 kB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.6014, allocations: 9.203 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.6017, allocations: 68.52 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.206e-05/0.6018, allocations: 57.56 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.6019, allocations: 19.59 kB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.222e-05/0.6019, allocations: 27.11 kB / 0.9515 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.323e-05/0.602, allocations: 21.42 kB / 0.9515 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.602, allocations: 5.25 kB / 0.9515 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.861e-05/0.6021, allocations: 4.938 kB / 0.9515 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.6021, allocations: 14.64 kB / 0.9515 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.6021, allocations: 29.28 kB / 0.9515 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.055e-05/0.6022, allocations: 60.48 kB / 0.9516 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6022, allocations: 0 / 0.9516 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6022, allocations: 0 / 0.9516 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.6022, allocations: 0 / 0.9516 GB, free: 7.668 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.0004255/0.6027, allocations: 375.4 kB / 0.952 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.6027, allocations: 9.469 kB / 0.952 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.6027, allocations: 35.83 kB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.6028, allocations: 3.906 kB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.958e-05/0.6029, allocations: 176.2 kB / 0.9522 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.614e-05/0.6029, allocations: 33.02 kB / 0.9522 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.6029, allocations: 2.188 kB / 0.9522 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.6031, allocations: 82.19 kB / 0.9523 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.6032, allocations: 0 / 0.9523 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.6032, allocations: 5.484 kB / 0.9523 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.6032, allocations: 0 / 0.9523 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.6034, allocations: 49.48 kB / 0.9523 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.6039, allocations: 317.9 kB / 0.9526 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.604, allocations: 45.42 kB / 0.9527 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.02e-05/0.6041, allocations: 39.45 kB / 0.9527 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.6041, allocations: 5.031 kB / 0.9527 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.6041, allocations: 31.69 kB / 0.9528 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.6041, allocations: 4 kB / 0.9528 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003299/0.6045, allocations: 93.83 kB / 0.9529 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.6045, allocations: 51.41 kB / 0.9529 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.527e-05/0.6045, allocations: 107.9 kB / 0.953 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.6046, allocations: 27.17 kB / 0.953 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.615e-05/0.6046, allocations: 93.53 kB / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.6046, allocations: 21.25 kB / 0.9531 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.6046, allocations: 18 kB / 0.9532 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.942e-05/0.6047, allocations: 320.1 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.444e-05/0.6048, allocations: 23.67 kB / 0.9535 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.394e-05/0.6049, allocations: 34.91 kB / 0.9535 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.605, allocations: 63.34 kB / 0.9536 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6051, allocations: 0 / 0.9536 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002006/0.6053, allocations: 89.78 kB / 0.9537 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.6053, allocations: 6.062 kB / 0.9537 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.6053, allocations: 0 / 0.9537 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.6053, allocations: 5.266 kB / 0.9537 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.6054, allocations: 13.56 kB / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.6054, allocations: 1.312 kB / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.374e-05/0.6055, allocations: 11.73 kB / 0.9537 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.6055, allocations: 2.531 kB / 0.9537 GB, free: 5.598 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.602e-05/0.6055, allocations: 112.2 kB / 0.9538 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.6056, allocations: 5.375 kB / 0.9538 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.6056, allocations: 13.14 kB / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.6056, allocations: 1.156 kB / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.6056, allocations: 7.938 kB / 0.9538 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.6056, allocations: 1.094 kB / 0.9538 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.6057, allocations: 175.6 kB / 0.954 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6057, allocations: 0 / 0.954 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-05/0.6058, allocations: 12.81 kB / 0.954 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.6058, allocations: 0 / 0.954 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.6058, allocations: 1.188 kB / 0.954 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.6058, allocations: 0 / 0.954 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.6058, allocations: 5.016 kB / 0.954 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.606, allocations: 173.4 kB / 0.9542 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.6061, allocations: 81.92 kB / 0.9543 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.6061, allocations: 4.938 kB / 0.9543 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.6062, allocations: 10.95 kB / 0.9543 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.6063, allocations: 5.672 kB / 0.9543 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.6063, allocations: 1.656 kB / 0.9543 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.678e-05/0.6063, allocations: 93.84 kB / 0.9544 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6063, allocations: 4 kB / 0.9544 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002183/0.6065, allocations: 7.719 kB / 0.9544 GB, free: 4.875 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.0003601/0.6069, allocations: 0.7089 MB / 0.9551 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.6071, allocations: 57.39 kB / 0.9551 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6071, allocations: 0 / 0.9551 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/0.6072, allocations: 27.5 kB / 0.9552 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.6075, allocations: 6.844 kB / 0.9552 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.6086, allocations: 1.334 MB / 0.9565 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.913e-05/0.6087, allocations: 0.6856 MB / 0.9571 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.951e-05/0.6087, allocations: 8.344 kB / 0.9571 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.6088, allocations: 21.52 kB / 0.9572 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.6088, allocations: 0 / 0.9572 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.6259, allocations: 1.744 MB / 0.9589 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/7.52, allocations: 9.047 kB / 0.9589 GB, free: 1.168 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