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.0008527/0.0008527, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009186/0.0009186, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.022/1.022, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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 1.896/1.896, allocations: 359 MB / 0.6055 GB, free: 11.01 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 2.625e-06/2.625e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.17e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001329/0.001351, allocations: 0.8159 MB / 0.7879 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001078/0.001458, allocations: 41.59 kB / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.001506, allocations: 4 kB / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.001541, allocations: 7.875 kB / 0.788 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.784e-05/0.001619, allocations: 7.875 kB / 0.788 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.224e-05/0.001661, allocations: 25.59 kB / 0.788 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.973e-05/0.001751, allocations: 59.84 kB / 0.788 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.001868, allocations: 27.97 kB / 0.7881 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.663e-05/0.001955, allocations: 43.84 kB / 0.7881 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.945e-05/0.001994, allocations: 21.12 kB / 0.7881 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.002015, allocations: 4 kB / 0.7881 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.002026, allocations: 8 kB / 0.7881 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.002045, allocations: 16.55 kB / 0.7882 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.002071, allocations: 17.34 kB / 0.7882 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.916e-05/0.00216, allocations: 47.75 kB / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.002163, allocations: 4 kB / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.31e-07/0.002164, allocations: 0 / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.002168, allocations: 0.8438 kB / 0.7882 GB, free: 11.68 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.0003569/0.002525, allocations: 404.3 kB / 0.7886 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.002563, allocations: 8.594 kB / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.002602, allocations: 17.61 kB / 0.7886 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.002748, allocations: 136.5 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.00276, allocations: 13.27 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.002771, allocations: 8.312 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.002881, allocations: 87.98 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.002887, allocations: 4.125 kB / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.0029, allocations: 9.969 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.002906, allocations: 384 / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.75e-05/0.002954, allocations: 35.8 kB / 0.7889 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.003315, allocations: 450.4 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.659e-05/0.003362, allocations: 59.19 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.003391, allocations: 26.72 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.0034, allocations: 4 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.003419, allocations: 37.38 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.00342, allocations: 0 / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001332/0.003553, allocations: 45.59 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.00359, allocations: 81.11 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.003699, allocations: 189.8 kB / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.003707, allocations: 26.42 kB / 0.7898 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.003784, allocations: 154.7 kB / 0.7899 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.233e-06/0.003791, allocations: 9.547 kB / 0.79 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.003817, allocations: 23.38 kB / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.003928, allocations: 0.4923 MB / 0.7905 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.003939, allocations: 0 / 0.7905 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.003959, allocations: 24.47 kB / 0.7905 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.56e-05/0.003994, allocations: 32.3 kB / 0.7905 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.003996, allocations: 0 / 0.7905 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.409e-05/0.00405, allocations: 51.27 kB / 0.7906 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.004062, allocations: 4 kB / 0.7906 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.004068, allocations: 0 / 0.7906 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.00408, allocations: 4 kB / 0.7906 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.004134, allocations: 9.328 kB / 0.7906 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.00414, allocations: 3.938 kB / 0.7906 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.004155, allocations: 7.953 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.00416, allocations: 0 / 0.7906 GB, free: 9.02 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 6.745e-05/0.004227, allocations: 153.1 kB / 0.7907 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.004247, allocations: 8.562 kB / 0.7907 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.004274, allocations: 8.875 kB / 0.7907 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.004277, allocations: 4.078 kB / 0.7908 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.004282, allocations: 0 / 0.7908 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.004288, allocations: 7.922 kB / 0.7908 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.004589, allocations: 0.5543 MB / 0.7913 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.004591, allocations: 1.688 kB / 0.7913 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.004604, allocations: 11.92 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.004606, allocations: 0 / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.004615, allocations: 3.938 kB / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.004617, allocations: 0.9062 kB / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.004618, allocations: 0 / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.052e-05/0.004689, allocations: 80.67 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.004706, allocations: 12.47 kB / 0.7914 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.004719, allocations: 3.938 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.236e-05/0.004731, allocations: 9.156 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.00475, allocations: 0 / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-06/0.004751, allocations: 0 / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.877e-05/0.00481, allocations: 145.3 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00481, allocations: 0.5312 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001268/0.004937, allocations: 15.89 kB / 0.7916 GB, free: 7.93 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 8.013e-05/0.005017, allocations: 96.62 kB / 0.7917 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.988e-05/0.005107, allocations: 24.48 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.005109, allocations: 0 / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.1e-05/0.00512, allocations: 16.56 kB / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.005245, allocations: 5.344 kB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.005573, allocations: 174.5 kB / 0.7919 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.005614, allocations: 59.34 kB / 0.7919 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.324e-05/0.005637, allocations: 4.906 kB / 0.7919 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/0.005661, allocations: 12.5 kB / 0.792 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.005661, allocations: 2.312 kB / 0.792 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of Templates: time 0.001902/0.007563, allocations: 345.6 kB / 0.7923 GB, free: 7.152 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.361668178113177]