Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_10_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.007796/0.007796, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.001848/0.001848, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.464/2.464, allocations: 437.1 MB / 0.7106 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 68.06 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8003/0.8021, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002316/0.8045, allocations: 1.504 MB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002929/0.8048, allocations: 123.7 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.8049, allocations: 7.938 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.8049, allocations: 7.922 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.663e-05/0.805, allocations: 7.938 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.8053, allocations: 73.33 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.8054, allocations: 55.84 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.438e-05/0.8055, allocations: 15.98 kB / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.8055, allocations: 31.91 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.8056, allocations: 19.92 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.8056, allocations: 4 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/0.8056, allocations: 8 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.8057, allocations: 19.92 kB / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.8057, allocations: 27.84 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.8058, allocations: 54.48 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.8058, allocations: 0 / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8058, allocations: 0 / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.8059, allocations: 3.984 kB / 1.168 GB, free: 1.805 MB / 0.8887 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.000527/0.8064, allocations: 368.3 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.8064, allocations: 12.92 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.8065, allocations: 38.75 kB / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.8065, allocations: 8.875 kB / 1.168 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.8066, allocations: 168.4 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.389e-05/0.8067, allocations: 30.27 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.8067, allocations: 4.375 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.8069, allocations: 77.91 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.807, allocations: 7.984 kB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.807, allocations: 0 / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.807, allocations: 4 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.8072, allocations: 43.95 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/0.8077, allocations: 316.7 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.8079, allocations: 54.48 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.44e-05/0.808, allocations: 28.94 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.808, allocations: 3.984 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.808, allocations: 34.56 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.808, allocations: 3.938 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0003537/0.8084, allocations: 101.6 kB / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.8084, allocations: 59.34 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.367e-05/0.8085, allocations: 109.8 kB / 1.169 GB, free: 156 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.8086, allocations: 25.7 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.8086, allocations: 96.06 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.8086, allocations: 7.906 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.8087, allocations: 17.72 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.8088, allocations: 318.8 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.005e-05/0.8089, allocations: 27.91 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.315e-05/0.809, allocations: 33.7 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.8092, allocations: 57.67 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.8092, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002193/0.8094, allocations: 89.55 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.8094, allocations: 8 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.8095, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.8095, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.578e-05/0.8096, allocations: 15.98 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.8096, allocations: 4 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.8096, allocations: 11.92 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.8097, allocations: 4.031 kB / 1.17 GB, free: 15.41 MB / 0.9044 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 8.193e-05/0.8097, allocations: 117.8 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.8098, allocations: 3.953 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.8098, allocations: 7.906 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.8098, allocations: 0 / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.8098, allocations: 0 / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.8098, allocations: 0 / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.81, allocations: 189.6 kB / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.81, allocations: 0 / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.8101, allocations: 15.98 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.8101, allocations: 240 / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.8101, allocations: 0 / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8101, allocations: 0 / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8101, allocations: 0 / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.8104, allocations: 187.4 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.8104, allocations: 81.06 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.8104, allocations: 7.938 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.8106, allocations: 11.98 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.8106, allocations: 4 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.8106, allocations: 8.109 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.746e-05/0.8107, allocations: 87.28 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.8107, allocations: 0 / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002104/0.8109, allocations: 8 kB / 1.171 GB, free: 14.59 MB / 0.9044 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.0005385/0.8114, allocations: 0.7124 MB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.8117, allocations: 51.89 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.8117, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/0.8118, allocations: 28.05 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.812, allocations: 7.938 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.8134, allocations: 1.328 MB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.8137, allocations: 0.6846 MB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.745e-05/0.8138, allocations: 7.984 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.8138, allocations: 19.44 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of SimCode: time 3.2e-07/0.8138, allocations: 0 / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.609/1.423, allocations: 1.782 MB / 1.175 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.53/10.95, allocations: 7.359 kB / 1.175 GB, free: 9.934 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches