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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00111/0.00111, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.001379/0.001379, allocations: 171.5 kB / 16.26 MB, free: 6.664 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.339/1.339, 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 11.0.0-master/package.mo): time 2.519/2.519, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 11.25 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2634, allocations: 159.6 MB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001805/0.2652, allocations: 1.229 MB / 1.06 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003287/0.2656, allocations: 115.7 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.2656, allocations: 0 / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.2657, allocations: 7.922 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.016e-05/0.2657, allocations: 15.92 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.2661, allocations: 59.92 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.517e-05/0.2662, allocations: 51.86 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2663, allocations: 19.97 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.769e-05/0.2664, allocations: 19.92 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.2664, allocations: 15.92 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.2665, allocations: 4 kB / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.2665, allocations: 4 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.2665, allocations: 15.92 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.514e-05/0.2666, allocations: 49.55 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.2667, allocations: 48.14 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2667, allocations: 0 / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.245e-06/0.2667, allocations: 3.938 kB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2667, allocations: 0 / 1.06 GB, free: 3.27 MB / 0.8106 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.0005059/0.2672, allocations: 367.4 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.2673, allocations: 11.97 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.2673, allocations: 34.75 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.2674, allocations: 4.938 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2675, allocations: 180.2 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.288e-05/0.2676, allocations: 30.27 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.2676, allocations: 4.375 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.2678, allocations: 93.95 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2678, allocations: 0 / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2679, allocations: 0 / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.2679, allocations: 0 / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.2681, allocations: 63.89 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/0.2687, allocations: 328.7 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.2688, allocations: 54.55 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.2689, allocations: 36.88 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.269, allocations: 7.875 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.269, allocations: 38.56 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.269, allocations: 0 / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003715/0.2694, allocations: 113.6 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.2694, allocations: 55.41 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/0.2695, allocations: 105.8 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.2695, allocations: 29.7 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.2696, allocations: 91.98 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.2696, allocations: 15.88 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.2696, allocations: 13.72 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.2697, allocations: 322.7 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.725e-05/0.2698, allocations: 31.97 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.67e-05/0.2699, allocations: 41.7 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.2701, allocations: 65.67 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2701, allocations: 0 / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002262/0.2704, allocations: 101.6 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.2704, allocations: 4 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2704, allocations: 4 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.2704, allocations: 0 / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.2705, allocations: 15.98 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2705, allocations: 0 / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.2706, allocations: 11.98 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.2706, allocations: 4 kB / 1.063 GB, free: 0.7812 MB / 0.8106 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 6.86e-05/0.2707, allocations: 117.8 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.2707, allocations: 3.906 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.2707, allocations: 15.84 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2707, allocations: 0 / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2707, allocations: 0 / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2707, allocations: 0 / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.2709, allocations: 185.5 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2709, allocations: 0 / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.271, allocations: 15.98 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.271, allocations: 4 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.271, allocations: 0 / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.271, allocations: 0 / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.271, allocations: 0 / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.2713, allocations: 191.6 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.2713, allocations: 85 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.2713, allocations: 48 / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.2715, allocations: 19.97 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.2715, allocations: 8 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.2715, allocations: 3.938 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.078e-05/0.2716, allocations: 99.2 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2716, allocations: 0 / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002166/0.2718, allocations: 8 kB / 1.063 GB, free: 15.94 MB / 0.8262 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.0004889/0.2723, allocations: 0.7163 MB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.2725, allocations: 63.89 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2726, allocations: 4.062 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.395e-05/0.2727, allocations: 27.98 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.2729, allocations: 4 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.2742, allocations: 1.373 MB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.2744, allocations: 0.6848 MB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.834e-05/0.2745, allocations: 7.984 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.2745, allocations: 11.44 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of SimCode: time 1.603e-06/0.2745, allocations: 4 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9584/1.233, allocations: 1.498 MB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/1.233, allocations: 220 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.866, allocations: 0.875 kB / 1.068 GB, free: 11.3 MB / 0.8262 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