Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.001965/0.001965, allocations: 84.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.002623/0.002623, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.799/2.799, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.381e-05/3.555e-05, allocations: 7.422 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002258/0.002294, allocations: 0.7944 MB / 0.7872 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001536/0.002447, allocations: 40.31 kB / 0.7872 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.002511, allocations: 4 kB / 0.7872 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.695e-05/0.002557, allocations: 12.7 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.002666, allocations: 15.86 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.25e-05/0.002728, allocations: 16.73 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.00286, allocations: 59.84 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.002997, allocations: 36.66 kB / 0.7873 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.003107, allocations: 44.39 kB / 0.7874 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.003163, allocations: 19.92 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.003185, allocations: 5.5 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.003197, allocations: 8 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.003224, allocations: 15.91 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.003267, allocations: 19.94 kB / 0.7874 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.003413, allocations: 80.84 kB / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003415, allocations: 0 / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003415, allocations: 0 / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.00342, allocations: 0.625 kB / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005163/0.003936, allocations: 299.5 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.003974, allocations: 8.031 kB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/0.004033, allocations: 24.83 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.004252, allocations: 129.7 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.00427, allocations: 13.22 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.004285, allocations: 4.375 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.004479, allocations: 90.02 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.004489, allocations: 5 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.004502, allocations: 384 / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.004507, allocations: 384 / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.004616, allocations: 44.83 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000577/0.005193, allocations: 357.1 kB / 0.7884 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.033e-05/0.005273, allocations: 41.25 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.307e-05/0.005316, allocations: 22.97 kB / 0.7885 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.00533, allocations: 7.984 kB / 0.7885 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.00537, allocations: 32.16 kB / 0.7885 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.005371, allocations: 0 / 0.7885 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002154/0.005586, allocations: 50.75 kB / 0.7886 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.005666, allocations: 81.11 kB / 0.7887 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.005816, allocations: 132.5 kB / 0.7888 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.005839, allocations: 29.7 kB / 0.7888 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.005942, allocations: 111 kB / 0.7889 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.005954, allocations: 7.953 kB / 0.7889 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.005993, allocations: 13.72 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.006199, allocations: 322.8 kB / 0.7893 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.006215, allocations: 0 / 0.7893 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.006248, allocations: 25.66 kB / 0.7893 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.96e-05/0.006298, allocations: 26.42 kB / 0.7893 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006299, allocations: 0 / 0.7893 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.414e-05/0.006393, allocations: 55.3 kB / 0.7894 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.006411, allocations: 8 kB / 0.7894 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.006424, allocations: 0 / 0.7894 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.006445, allocations: 1 kB / 0.7894 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.227e-05/0.006517, allocations: 11.98 kB / 0.7894 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.006525, allocations: 3.938 kB / 0.7894 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.006552, allocations: 5.703 kB / 0.7894 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.006558, allocations: 4 kB / 0.7894 GB, free: 9.543 MB / 0.7448 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 (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 prepare postOptimizeDAE: time 0.0001035/0.006662, allocations: 113.8 kB / 0.7895 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.006703, allocations: 4 kB / 0.7895 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.006726, allocations: 12.72 kB / 0.7895 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.006728, allocations: 0 / 0.7895 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.006732, allocations: 3.938 kB / 0.7895 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.006737, allocations: 4.031 kB / 0.7895 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.007185, allocations: 420.4 kB / 0.7899 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.007186, allocations: 0 / 0.7899 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2e-05/0.007206, allocations: 7.938 kB / 0.7899 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.007208, allocations: 0 / 0.7899 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.007221, allocations: 8.516 kB / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007222, allocations: 4 kB / 0.79 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007223, allocations: 5.625 kB / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.007338, allocations: 66 kB / 0.79 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.007363, allocations: 11.94 kB / 0.79 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.007378, allocations: 4.844 kB / 0.79 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.068e-05/0.007398, allocations: 4 kB / 0.79 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.007419, allocations: 4 kB / 0.79 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.007421, allocations: 4.469 kB / 0.79 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.959e-05/0.007501, allocations: 95.86 kB / 0.7901 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.007501, allocations: 0 / 0.7901 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001938/0.007694, allocations: 12.48 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001296/0.007824, allocations: 100.5 kB / 0.7902 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.899e-05/0.007913, allocations: 16.52 kB / 0.7903 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.007915, allocations: 1.375 kB / 0.7903 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.354e-05/0.007929, allocations: 7.938 kB / 0.7903 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.008079, allocations: 5.891 kB / 0.7903 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.008455, allocations: 167.2 kB / 0.7904 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.108e-05/0.008546, allocations: 80.12 kB / 0.7905 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.922e-05/0.008576, allocations: 4.938 kB / 0.7905 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.008606, allocations: 8.5 kB / 0.7905 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.008606, allocations: 1.344 kB / 0.7905 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of Templates: time 0.002768/0.01137, allocations: 359.3 kB / 0.7909 GB, free: 7.934 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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: 7.862837566994131]