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.001125/0.001125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001123/0.001123, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.311/1.311, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.668/2.668, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 60.84 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2523, allocations: 157.4 MB / 1.052 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.00297/0.2553, allocations: 1.564 MB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002985/0.2556, allocations: 127.7 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.2557, allocations: 0 / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.2557, allocations: 0 / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.818e-05/0.2558, allocations: 7.938 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.2561, allocations: 71.27 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.594e-05/0.2562, allocations: 59.78 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2563, allocations: 23.97 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.775e-05/0.2564, allocations: 23.92 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.332e-05/0.2564, allocations: 15.92 kB / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.2565, allocations: 4 kB / 1.054 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.656e-05/0.2565, allocations: 4 kB / 1.054 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.2565, allocations: 15.92 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.2566, allocations: 27.84 kB / 1.054 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.828e-05/0.2567, allocations: 44.14 kB / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2567, allocations: 0 / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2567, allocations: 4 kB / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2567, allocations: 0 / 1.054 GB, free: 6.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.0005574/0.2573, allocations: 371.4 kB / 1.054 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.2573, allocations: 11.97 kB / 1.054 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.137e-05/0.2574, allocations: 38.73 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.2574, allocations: 8.844 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.2575, allocations: 180.2 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/0.2576, allocations: 30.27 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.2577, allocations: 4.375 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.2579, allocations: 77.97 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2579, allocations: 0 / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.2579, allocations: 4 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2579, allocations: 4 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.2581, allocations: 39.95 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005895/0.2587, allocations: 320.6 kB / 1.055 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.2588, allocations: 54.53 kB / 1.055 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.453e-05/0.2589, allocations: 36.86 kB / 1.055 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.259, allocations: 0 / 1.055 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.259, allocations: 38.56 kB / 1.055 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.259, allocations: 3.938 kB / 1.055 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003517/0.2594, allocations: 97.58 kB / 1.055 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.2594, allocations: 51.41 kB / 1.055 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.2595, allocations: 117.7 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.2595, allocations: 25.7 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.2596, allocations: 96.06 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.2596, allocations: 15.81 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.2596, allocations: 13.72 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.2597, allocations: 322.8 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.625e-05/0.2598, allocations: 19.98 kB / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.903e-05/0.2599, allocations: 33.7 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.2601, allocations: 61.61 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2601, allocations: 0 / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002154/0.2603, allocations: 81.66 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2603, allocations: 4 kB / 1.056 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2603, allocations: 4 kB / 1.056 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.2604, allocations: 4.031 kB / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.2605, allocations: 15.92 kB / 1.056 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2605, allocations: 0 / 1.056 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.771e-05/0.2605, allocations: 15.89 kB / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.2606, allocations: 0 / 1.056 GB, free: 3.859 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 7.28e-05/0.2606, allocations: 117.8 kB / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.2607, allocations: 0 / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.2607, allocations: 7.906 kB / 1.056 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.2607, allocations: 8 kB / 1.056 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2607, allocations: 0 / 1.056 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2607, allocations: 3.984 kB / 1.056 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.2609, allocations: 177.6 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2609, allocations: 0 / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.271e-05/0.261, allocations: 15.98 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.261, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.261, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.261, allocations: 4.125 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.261, allocations: 3.938 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.2613, allocations: 191.3 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.2613, allocations: 77.11 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.2613, allocations: 0 / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.2615, allocations: 15.98 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.2615, allocations: 288 / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.2615, allocations: 7.984 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.237e-05/0.2616, allocations: 87.28 kB / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2616, allocations: 0 / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002255/0.2618, allocations: 11.94 kB / 1.057 GB, free: 3.047 MB / 0.8106 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.0004973/0.2623, allocations: 0.7201 MB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.2625, allocations: 51.95 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2625, allocations: 0 / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.2626, allocations: 23.92 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.2629, allocations: 7.984 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.2643, allocations: 1.34 MB / 1.059 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.2645, allocations: 0.6809 MB / 1.06 GB, free: 88 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.429e-05/0.2645, allocations: 8 kB / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.2646, allocations: 19.42 kB / 1.06 GB, free: 60 kB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2646, allocations: 0 / 1.06 GB, free: 60 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3193/0.5839, allocations: 1.558 MB / 1.061 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.5841, allocations: 218.8 kB / 1.061 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.282, allocations: 0 / 1.061 GB, free: 14.36 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