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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 118.8 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.547/1.547, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.057/3.057, allocations: 0.5003 GB / 0.8026 GB, free: 6.707 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 63.91 kB / 1.165 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9377/0.9397, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002656/0.9424, allocations: 1.521 MB / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003109/0.9427, allocations: 132 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.9427, allocations: 1.031 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.9428, allocations: 13 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.812e-05/0.9428, allocations: 13.44 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.9432, allocations: 66.5 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.9433, allocations: 53.56 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.9434, allocations: 14.84 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.9435, allocations: 28.83 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.097e-05/0.9435, allocations: 23.58 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.9435, allocations: 5.406 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.498e-05/0.9436, allocations: 9.406 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.9436, allocations: 17.42 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.9436, allocations: 30.31 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.9437, allocations: 52.86 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.9437, allocations: 0 / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9437, allocations: 0 / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.9438, allocations: 0 / 1.342 GB, free: 14.98 MB / 1.061 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.0004738/0.9442, allocations: 373.8 kB / 1.342 GB, free: 14.6 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.9443, allocations: 10.25 kB / 1.342 GB, free: 14.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.758e-05/0.9443, allocations: 5.562 kB / 1.342 GB, free: 14.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.385e-05/0.9443, allocations: 36.7 kB / 1.342 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.9443, allocations: 8.281 kB / 1.342 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.565e-05/0.9444, allocations: 172 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.9445, allocations: 35.5 kB / 1.343 GB, free: 14.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.9445, allocations: 2.938 kB / 1.343 GB, free: 14.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.9447, allocations: 78.14 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.9447, allocations: 4 kB / 1.343 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.9447, allocations: 1.875 kB / 1.343 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.9447, allocations: 0 / 1.343 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.9449, allocations: 45.48 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.9455, allocations: 317.4 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.9456, allocations: 49.02 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.715e-05/0.9457, allocations: 30.05 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.9457, allocations: 5.891 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.9457, allocations: 31.25 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.9457, allocations: 0.9688 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003709/0.9461, allocations: 106.1 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/0.9461, allocations: 53.09 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.415e-05/0.9462, allocations: 107 kB / 1.343 GB, free: 13.65 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.9462, allocations: 26.83 kB / 1.343 GB, free: 13.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.9462, allocations: 91.78 kB / 1.344 GB, free: 13.53 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.9462, allocations: 19.53 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.9463, allocations: 17.73 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.9463, allocations: 321.4 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-05/0.9464, allocations: 27.16 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.553e-05/0.9465, allocations: 32.33 kB / 1.344 GB, free: 13.15 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.9467, allocations: 65.03 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.9467, allocations: 0 / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002149/0.9469, allocations: 82.75 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.9469, allocations: 6.031 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.9469, allocations: 1.219 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.9469, allocations: 0 / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.947, allocations: 17.94 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.947, allocations: 5.156 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.9471, allocations: 10.66 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.9471, allocations: 5.438 kB / 1.344 GB, free: 13.05 MB / 1.061 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 5.001e-05/0.9472, allocations: 117.2 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.9472, allocations: 2.781 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.9472, allocations: 10.48 kB / 1.344 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.9472, allocations: 0 / 1.344 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.9472, allocations: 0.75 kB / 1.344 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.9472, allocations: 1.375 kB / 1.344 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.9473, allocations: 181.8 kB / 1.344 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.9473, allocations: 6.078 kB / 1.344 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.006e-05/0.9474, allocations: 14.38 kB / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.9474, allocations: 1.156 kB / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.9474, allocations: 0 / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9474, allocations: 1.219 kB / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9474, allocations: 0.7969 kB / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.9477, allocations: 178.3 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.9477, allocations: 83.16 kB / 1.345 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.9477, allocations: 5.844 kB / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.9478, allocations: 9.75 kB / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.9478, allocations: 3.109 kB / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.9479, allocations: 4.266 kB / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.013e-05/0.9479, allocations: 87.91 kB / 1.345 GB, free: 12.38 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9479, allocations: 0 / 1.345 GB, free: 12.38 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002267/0.9481, allocations: 12.59 kB / 1.345 GB, free: 12.37 MB / 1.061 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.0004051/0.9485, allocations: 0.7052 MB / 1.346 GB, free: 11.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002784/0.9488, allocations: 56.33 kB / 1.346 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9488, allocations: 0 / 1.346 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.74e-05/0.9489, allocations: 28.91 kB / 1.346 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.9492, allocations: 11.39 kB / 1.346 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.9504, allocations: 1.334 MB / 1.347 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.9506, allocations: 0.681 MB / 1.348 GB, free: 9.738 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.717e-05/0.9506, allocations: 5.625 kB / 1.348 GB, free: 9.738 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.9506, allocations: 14.84 kB / 1.348 GB, free: 9.727 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.9506, allocations: 0 / 1.348 GB, free: 9.727 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.9667, allocations: 1.834 MB / 1.349 GB, free: 9.312 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/9.368, allocations: 12.66 kB / 1.349 GB, free: 9.309 MB / 1.061 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.129889045958407]