Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_latest_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.00645/0.00645, allocations: 99.64 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.0012/0.0012, allocations: 189.7 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.814/2.814, allocations: 461.9 MB / 0.7348 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001534, allocations: 59.91 kB / 1.054 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3124, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003313/0.3157, allocations: 1.507 MB / 1.209 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004328/0.3162, allocations: 123.7 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.659e-05/0.3163, allocations: 0 / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/0.3164, allocations: 3.938 kB / 1.209 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.625e-05/0.3165, allocations: 7.922 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.3169, allocations: 66.08 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3171, allocations: 63.83 kB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.3172, allocations: 19.98 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.902e-05/0.3173, allocations: 23.92 kB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.568e-05/0.3174, allocations: 27.91 kB / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.3174, allocations: 4 kB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.618e-05/0.3175, allocations: 4 kB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.3175, allocations: 15.92 kB / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.318e-05/0.3176, allocations: 27.84 kB / 1.209 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.3177, allocations: 52.16 kB / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3177, allocations: 0 / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3177, allocations: 0 / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.3177, allocations: 0 / 1.209 GB, free: 8.262 MB / 0.9669 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.0006812/0.3184, allocations: 379.3 kB / 1.21 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.3185, allocations: 8.625 kB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.3185, allocations: 38.75 kB / 1.21 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.3186, allocations: 0.9375 kB / 1.21 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.3188, allocations: 188.1 kB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.805e-05/0.3189, allocations: 30.27 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.3189, allocations: 8.375 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.3191, allocations: 77.97 kB / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3191, allocations: 0 / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3192, allocations: 0 / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.3192, allocations: 0 / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.3194, allocations: 47.95 kB / 1.21 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006744/0.3201, allocations: 320.7 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.3202, allocations: 46.55 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.3203, allocations: 32.92 kB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.3204, allocations: 3.938 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.3204, allocations: 38.56 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.3204, allocations: 4 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003833/0.3208, allocations: 101.5 kB / 1.21 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.3209, allocations: 55.41 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.898e-05/0.321, allocations: 105.8 kB / 1.211 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.321, allocations: 25.7 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.235e-05/0.3211, allocations: 95.98 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.3211, allocations: 11.97 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.3211, allocations: 21.7 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3213, allocations: 322.8 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-05/0.3214, allocations: 19.98 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.441e-05/0.3215, allocations: 33.69 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.3217, allocations: 61.61 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.3217, allocations: 0 / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002376/0.3219, allocations: 89.5 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.322, allocations: 8 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.322, allocations: 0 / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.322, allocations: 0 / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.3221, allocations: 20.02 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3221, allocations: 0 / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.3222, allocations: 4 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3222, allocations: 0 / 1.211 GB, free: 5.855 MB / 0.9669 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 0.0001181/0.3223, allocations: 121.8 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.3224, allocations: 4 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.3224, allocations: 11.84 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3224, allocations: 0 / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3224, allocations: 4 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3224, allocations: 0 / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.3226, allocations: 185.4 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3227, allocations: 0 / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/0.3227, allocations: 11.98 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3227, allocations: 0 / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3228, allocations: 0 / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3228, allocations: 0 / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3228, allocations: 3.938 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.323, allocations: 179.5 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.3231, allocations: 81.02 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3231, allocations: 8.109 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.3233, allocations: 11.98 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.3233, allocations: 8 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.3233, allocations: 0 / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.054e-05/0.3234, allocations: 95.52 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3234, allocations: 4 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002324/0.3236, allocations: 8 kB / 1.212 GB, free: 5.031 MB / 0.9669 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.0005909/0.3242, allocations: 0.7088 MB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.3245, allocations: 51.95 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3245, allocations: 0 / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.3246, allocations: 31.91 kB / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.3249, allocations: 4.234 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.3265, allocations: 1.332 MB / 1.214 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.3268, allocations: 0.6846 MB / 1.215 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.321e-05/0.3269, allocations: 4 kB / 1.215 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.3269, allocations: 15.42 kB / 1.215 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.3269, allocations: 4 kB / 1.215 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.3463, allocations: 1.806 MB / 1.216 GB, free: 380 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/7.952, allocations: 8.547 kB / 1.217 GB, free: 376 kB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches