Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_9_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.0008426/0.0008426, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.00535/0.00535, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.189/1.189, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.09/2.09, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002862/0.0002862, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5109/0.5112, allocations: 142.4 MB / 0.9552 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.00116/0.5124, allocations: 1.215 MB / 0.9564 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000223/0.5126, allocations: 130.9 kB / 0.9565 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.5127, allocations: 4.969 kB / 0.9565 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.5127, allocations: 1 kB / 0.9565 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.792e-05/0.5128, allocations: 5.438 kB / 0.9565 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.513, allocations: 61.41 kB / 0.9565 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.076e-05/0.5131, allocations: 61.25 kB / 0.9566 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.062e-05/0.5132, allocations: 14.23 kB / 0.9566 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.5132, allocations: 25.59 kB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.5133, allocations: 18.27 kB / 0.9567 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.5133, allocations: 6.781 kB / 0.9567 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.5133, allocations: 1.469 kB / 0.9567 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.5133, allocations: 10.64 kB / 0.9567 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.5134, allocations: 43.2 kB / 0.9567 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.861e-05/0.5135, allocations: 54.47 kB / 0.9568 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5135, allocations: 1.375 kB / 0.9568 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5135, allocations: 0 / 0.9568 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.5135, allocations: 0 / 0.9568 GB, free: 6.324 MB / 0.7169 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.0003484/0.5138, allocations: 367.5 kB / 0.9571 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.5139, allocations: 10.59 kB / 0.9571 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.766e-05/0.5139, allocations: 39.78 kB / 0.9572 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.5139, allocations: 7.844 kB / 0.9572 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.963e-05/0.514, allocations: 170.7 kB / 0.9573 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.5141, allocations: 30.55 kB / 0.9574 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.5141, allocations: 10.62 kB / 0.9574 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.5143, allocations: 96.61 kB / 0.9575 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.5143, allocations: 0 / 0.9575 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.5143, allocations: 5.031 kB / 0.9575 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.5143, allocations: 0.9062 kB / 0.9575 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.5145, allocations: 55.11 kB / 0.9575 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.515, allocations: 331.2 kB / 0.9578 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.5151, allocations: 51.19 kB / 0.9579 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.452e-05/0.5152, allocations: 35.86 kB / 0.9579 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.5152, allocations: 4 kB / 0.9579 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.5152, allocations: 35.78 kB / 0.958 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.5153, allocations: 1.094 kB / 0.958 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003311/0.5156, allocations: 120.4 kB / 0.9581 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.625e-05/0.5156, allocations: 51.41 kB / 0.9581 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.985e-05/0.5157, allocations: 107.1 kB / 0.9582 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.5157, allocations: 27.52 kB / 0.9583 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.358e-05/0.5157, allocations: 89.91 kB / 0.9583 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.5157, allocations: 17.56 kB / 0.9584 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.5158, allocations: 11.53 kB / 0.9584 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.368e-05/0.5158, allocations: 324.6 kB / 0.9587 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.429e-05/0.5159, allocations: 24.14 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.364e-05/0.516, allocations: 43.72 kB / 0.9587 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.5161, allocations: 68.97 kB / 0.9588 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5161, allocations: 0 / 0.9588 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002058/0.5164, allocations: 103.9 kB / 0.9589 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.5164, allocations: 5.469 kB / 0.9589 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.5164, allocations: 0 / 0.9589 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.5164, allocations: 5.266 kB / 0.9589 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/0.5165, allocations: 16.66 kB / 0.9589 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.5165, allocations: 0 / 0.9589 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.426e-05/0.5166, allocations: 14.7 kB / 0.959 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.5166, allocations: 1.188 kB / 0.959 GB, free: 4.25 MB / 0.7169 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 4.359e-05/0.5166, allocations: 116.9 kB / 0.9591 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.5166, allocations: 2.594 kB / 0.9591 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.904e-05/0.5167, allocations: 9.078 kB / 0.9591 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.5167, allocations: 0 / 0.9591 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5167, allocations: 1.547 kB / 0.9591 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.5167, allocations: 0 / 0.9591 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.5168, allocations: 195.5 kB / 0.9593 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5168, allocations: 3.984 kB / 0.9593 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-05/0.5169, allocations: 11.72 kB / 0.9593 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5169, allocations: 0 / 0.9593 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.5169, allocations: 0 / 0.9593 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5169, allocations: 5.172 kB / 0.9593 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5169, allocations: 0 / 0.9593 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.5171, allocations: 192.1 kB / 0.9595 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.5171, allocations: 82.17 kB / 0.9595 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.5172, allocations: 1.062 kB / 0.9595 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.5173, allocations: 14.55 kB / 0.9596 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.5173, allocations: 9.391 kB / 0.9596 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.5173, allocations: 2.656 kB / 0.9596 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.332e-05/0.5174, allocations: 84.5 kB / 0.9597 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5174, allocations: 1.312 kB / 0.9597 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002087/0.5176, allocations: 7.5 kB / 0.9597 GB, free: 3.523 MB / 0.7169 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.0003403/0.5179, allocations: 0.7268 MB / 0.9604 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.5181, allocations: 64.52 kB / 0.9604 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5181, allocations: 0 / 0.9604 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.472e-05/0.5182, allocations: 31.28 kB / 0.9605 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.5185, allocations: 3.219 kB / 0.9605 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.5195, allocations: 1.383 MB / 0.9618 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.763e-05/0.5196, allocations: 0.6812 MB / 0.9625 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.623e-05/0.5196, allocations: 8.125 kB / 0.9625 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.5197, allocations: 12.81 kB / 0.9625 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5197, allocations: 0 / 0.9625 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.5544, allocations: 1.505 MB / 0.964 GB, free: 48 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/0.5546, allocations: 206.3 kB / 0.9642 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/2.11, allocations: 4.781 kB / 0.9642 GB, free: 15.79 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches