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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007095/0.007095, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.001665/0.001665, allocations: 192.1 kB / 16.67 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 67.88 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6154/0.6165, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002226/0.6188, allocations: 1.496 MB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002676/0.6191, allocations: 129.7 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.6191, allocations: 1.062 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.6192, allocations: 9.156 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.661e-05/0.6192, allocations: 13.53 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.6195, allocations: 64.47 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.449e-05/0.6196, allocations: 57.25 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.569e-05/0.6197, allocations: 14.09 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.081e-05/0.6197, allocations: 27.38 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.017e-05/0.6198, allocations: 24.34 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.6198, allocations: 9.344 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.6198, allocations: 9.094 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.6199, allocations: 17.56 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.6199, allocations: 25.56 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.967e-05/0.62, allocations: 61.73 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.62, allocations: 0 / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.62, allocations: 0 / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.62, allocations: 1.094 kB / 1.089 GB, free: 4 MB / 0.8575 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.0003922/0.6204, allocations: 369.3 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.6205, allocations: 10.3 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.6205, allocations: 36.41 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.6205, allocations: 8.344 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.007e-05/0.6206, allocations: 172.5 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.582e-05/0.6207, allocations: 34.78 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.6207, allocations: 2.812 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.6209, allocations: 77.88 kB / 1.09 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.6209, allocations: 0 / 1.09 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.6209, allocations: 9.766 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.6209, allocations: 1.25 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.6211, allocations: 48.34 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.6216, allocations: 314.9 kB / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.6217, allocations: 50.91 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.088e-05/0.6218, allocations: 33.59 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.6218, allocations: 0.6875 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.6218, allocations: 31.88 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.6218, allocations: 0.7188 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003347/0.6222, allocations: 106.9 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.6222, allocations: 52.2 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.488e-05/0.6223, allocations: 111.7 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.6223, allocations: 30.98 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.391e-05/0.6223, allocations: 87.42 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.6223, allocations: 18.98 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.6224, allocations: 18.5 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.107e-05/0.6224, allocations: 321.2 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.6225, allocations: 22.41 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.523e-05/0.6226, allocations: 32.34 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.6228, allocations: 61.3 kB / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.6228, allocations: 7.875 kB / 1.091 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002097/0.623, allocations: 80.08 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.623, allocations: 4.469 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.623, allocations: 1.156 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.623, allocations: 1.094 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.229e-05/0.6231, allocations: 13.61 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.6231, allocations: 3.938 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.6232, allocations: 15.3 kB / 1.091 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.6232, allocations: 5.188 kB / 1.091 GB, free: 2.082 MB / 0.8575 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.454e-05/0.6232, allocations: 114 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.6233, allocations: 3.203 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.6233, allocations: 9.547 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.6233, allocations: 0 / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6233, allocations: 1.766 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.6233, allocations: 0 / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.6234, allocations: 174.8 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6235, allocations: 5.125 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.6e-05/0.6235, allocations: 10.72 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6235, allocations: 1.828 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.6235, allocations: 8 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6235, allocations: 0.9688 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6236, allocations: 0 / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.6238, allocations: 188.2 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.6238, allocations: 78.84 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.6238, allocations: 5.188 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.6239, allocations: 10.08 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.624, allocations: 3.406 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.624, allocations: 3.031 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.64e-05/0.624, allocations: 88.2 kB / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.3e-07/0.624, allocations: 0 / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002127/0.6242, allocations: 8.531 kB / 1.092 GB, free: 1.406 MB / 0.8575 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.0003909/0.6246, allocations: 0.7098 MB / 1.093 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.6248, allocations: 58.33 kB / 1.093 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6249, allocations: 4.062 kB / 1.093 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.627e-05/0.6249, allocations: 24.97 kB / 1.093 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.6252, allocations: 14.03 kB / 1.093 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.6264, allocations: 1.33 MB / 1.094 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.6266, allocations: 0.6826 MB / 1.095 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.6267, allocations: 4.547 kB / 1.095 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.6267, allocations: 14.88 kB / 1.095 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.6267, allocations: 0 / 1.095 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.463/3.09, allocations: 1.78 MB / 1.097 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/16.54, allocations: 3.453 kB / 1.097 GB, free: 14.35 MB / 0.8731 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