Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001853/0.001853, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002566/0.002566, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.556/1.556, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.961/2.961, allocations: 0.49 GB / 0.7923 GB, free: 1.453 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_12_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.001983/0.001983, allocations: 67.89 kB / 1.15 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9556/0.9576, allocations: 176.1 MB / 1.321 GB, free: 7.551 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002896/0.9605, allocations: 1.507 MB / 1.323 GB, free: 6.371 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004099/0.9609, allocations: 136.1 kB / 1.323 GB, free: 6.266 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.961, allocations: 0 / 1.323 GB, free: 6.266 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.151e-05/0.961, allocations: 3.938 kB / 1.323 GB, free: 6.262 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.679e-05/0.9611, allocations: 17.09 kB / 1.323 GB, free: 6.246 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.9615, allocations: 64.39 kB / 1.323 GB, free: 6.203 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.9616, allocations: 61.19 kB / 1.323 GB, free: 6.168 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.9617, allocations: 9.688 kB / 1.323 GB, free: 6.164 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.539e-05/0.9618, allocations: 27.42 kB / 1.323 GB, free: 6.148 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.464e-05/0.9619, allocations: 25.78 kB / 1.323 GB, free: 6.129 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.9619, allocations: 4.969 kB / 1.323 GB, free: 6.129 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.984e-05/0.9619, allocations: 5.531 kB / 1.323 GB, free: 6.129 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.962, allocations: 18.12 kB / 1.323 GB, free: 6.113 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.962, allocations: 29.89 kB / 1.323 GB, free: 6.09 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.9622, allocations: 63.03 kB / 1.323 GB, free: 6.043 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.9622, allocations: 1.125 kB / 1.323 GB, free: 6.043 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9622, allocations: 3.938 kB / 1.323 GB, free: 6.039 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.9622, allocations: 0 / 1.323 GB, free: 6.039 MB / 1.014 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.0006093/0.9628, allocations: 374.5 kB / 1.324 GB, free: 5.648 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.9628, allocations: 14.23 kB / 1.324 GB, free: 5.645 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.475e-05/0.9629, allocations: 5.406 kB / 1.324 GB, free: 5.641 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.9629, allocations: 35.84 kB / 1.324 GB, free: 5.598 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.963, allocations: 8.141 kB / 1.324 GB, free: 5.594 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.9631, allocations: 167.6 kB / 1.324 GB, free: 5.395 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.282e-05/0.9632, allocations: 29.55 kB / 1.324 GB, free: 5.363 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.9632, allocations: 2.5 kB / 1.324 GB, free: 5.363 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.9635, allocations: 81.62 kB / 1.324 GB, free: 5.301 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.9635, allocations: 0 / 1.324 GB, free: 5.301 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.9635, allocations: 5.031 kB / 1.324 GB, free: 5.297 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.9635, allocations: 1.062 kB / 1.324 GB, free: 5.297 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.9637, allocations: 48.62 kB / 1.324 GB, free: 5.273 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006845/0.9644, allocations: 318.2 kB / 1.324 GB, free: 4.949 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.9645, allocations: 56.89 kB / 1.324 GB, free: 4.902 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.9646, allocations: 25.56 kB / 1.325 GB, free: 4.887 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.9647, allocations: 1.25 kB / 1.325 GB, free: 4.887 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.9647, allocations: 31.94 kB / 1.325 GB, free: 4.848 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.9647, allocations: 0 / 1.325 GB, free: 4.848 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0003963/0.9651, allocations: 105.6 kB / 1.325 GB, free: 4.777 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.9651, allocations: 51.41 kB / 1.325 GB, free: 4.715 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.9652, allocations: 115.7 kB / 1.325 GB, free: 4.602 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.9653, allocations: 30.92 kB / 1.325 GB, free: 4.566 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.9653, allocations: 89.27 kB / 1.325 GB, free: 4.477 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.9653, allocations: 10.47 kB / 1.325 GB, free: 4.469 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.9654, allocations: 22.3 kB / 1.325 GB, free: 4.445 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.9655, allocations: 318.8 kB / 1.325 GB, free: 4.125 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.601e-05/0.9656, allocations: 20.7 kB / 1.325 GB, free: 4.117 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.9657, allocations: 34.91 kB / 1.325 GB, free: 4.09 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.9659, allocations: 57.95 kB / 1.325 GB, free: 4.051 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9659, allocations: 9.312 kB / 1.325 GB, free: 4.043 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002385/0.9661, allocations: 82.05 kB / 1.325 GB, free: 3.988 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.9662, allocations: 10.69 kB / 1.325 GB, free: 3.984 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.9662, allocations: 1.156 kB / 1.325 GB, free: 3.984 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.9662, allocations: 1.312 kB / 1.325 GB, free: 3.984 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.9663, allocations: 17.08 kB / 1.325 GB, free: 3.977 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.9663, allocations: 5.125 kB / 1.325 GB, free: 3.973 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.162e-05/0.9664, allocations: 8.594 kB / 1.325 GB, free: 3.969 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.9664, allocations: 5 kB / 1.325 GB, free: 3.965 MB / 1.014 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 0.0001336/0.9665, allocations: 120.8 kB / 1.326 GB, free: 3.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.9666, allocations: 6.062 kB / 1.326 GB, free: 3.836 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.9666, allocations: 5 kB / 1.326 GB, free: 3.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.9666, allocations: 1.094 kB / 1.326 GB, free: 3.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.9666, allocations: 0 / 1.326 GB, free: 3.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.9666, allocations: 1.062 kB / 1.326 GB, free: 3.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.9669, allocations: 183.1 kB / 1.326 GB, free: 3.602 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.9669, allocations: 0 / 1.326 GB, free: 3.602 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.536e-05/0.9669, allocations: 17.52 kB / 1.326 GB, free: 3.594 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.9669, allocations: 0 / 1.326 GB, free: 3.594 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.9669, allocations: 0 / 1.326 GB, free: 3.594 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.9669, allocations: 1.656 kB / 1.326 GB, free: 3.594 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.9669, allocations: 0 / 1.326 GB, free: 3.594 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.9672, allocations: 185.1 kB / 1.326 GB, free: 3.426 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.9673, allocations: 87.22 kB / 1.326 GB, free: 3.324 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.9673, allocations: 5.078 kB / 1.326 GB, free: 3.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.9675, allocations: 9.422 kB / 1.326 GB, free: 3.316 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.9675, allocations: 1.75 kB / 1.326 GB, free: 3.316 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.9675, allocations: 2.031 kB / 1.326 GB, free: 3.316 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.872e-05/0.9676, allocations: 89.67 kB / 1.326 GB, free: 3.234 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.9676, allocations: 0 / 1.326 GB, free: 3.234 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002343/0.9678, allocations: 12.16 kB / 1.326 GB, free: 3.23 MB / 1.014 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.0006662/0.9685, allocations: 0.7008 MB / 1.327 GB, free: 2.551 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002578/0.9687, allocations: 52.7 kB / 1.327 GB, free: 2.527 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.9688, allocations: 4.062 kB / 1.327 GB, free: 2.523 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.931e-05/0.9689, allocations: 26.38 kB / 1.327 GB, free: 2.512 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.9692, allocations: 7.219 kB / 1.327 GB, free: 2.508 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.9711, allocations: 1.339 MB / 1.328 GB, free: 1.223 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.9714, allocations: 0.6812 MB / 1.329 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.973e-05/0.9714, allocations: 4.562 kB / 1.329 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.9714, allocations: 13.09 kB / 1.329 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of SimCode: time 3.9e-07/0.9714, allocations: 0 / 1.329 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.9878, allocations: 1.837 MB / 1.331 GB, free: 15.51 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.533/9.521, allocations: 3.766 kB / 1.331 GB, free: 15.51 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.000673915958032]