Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.001473/0.001473, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001734/0.001734, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9744/0.9744, allocations: 177.2 MB / 204.2 MB, free: 5.602 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.729/1.729, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] 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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.694e-05, allocations: 5.5 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001555/0.001582, allocations: 0.8208 MB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001235/0.001705, allocations: 44.91 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.00175, allocations: 0 / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.694e-05/0.001787, allocations: 11.86 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.971e-05/0.001867, allocations: 12.88 kB / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.118e-05/0.001908, allocations: 15.98 kB / 0.788 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.191e-05/0.002, allocations: 67.77 kB / 0.7881 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.002117, allocations: 36.53 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.317e-05/0.00221, allocations: 36.59 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.618e-05/0.002246, allocations: 12.83 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.002266, allocations: 11.98 kB / 0.7882 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-06/0.002274, allocations: 4 kB / 0.7882 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.002293, allocations: 20.58 kB / 0.7882 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.002318, allocations: 11.94 kB / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.063e-05/0.002408, allocations: 45.42 kB / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.002411, allocations: 3.938 kB / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.773e-06/0.002413, allocations: 0 / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.002417, allocations: 0 / 0.7882 GB, free: 11.34 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.0003361/0.002753, allocations: 409.8 kB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.002792, allocations: 8.031 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.002833, allocations: 16.89 kB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.00297, allocations: 140.5 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.00298, allocations: 11.88 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.002992, allocations: 4.375 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.003116, allocations: 91.11 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.003123, allocations: 192 / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.003133, allocations: 4.375 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.003143, allocations: 4.375 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.003191, allocations: 31.8 kB / 0.7889 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.00367, allocations: 0.7414 MB / 0.7896 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.003905, allocations: 270.2 kB / 0.7899 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.003938, allocations: 126.9 kB / 0.79 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.003963, allocations: 119.7 kB / 0.7901 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.004005, allocations: 161.9 kB / 0.7903 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.004006, allocations: 0 / 0.7903 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.737e-05/0.004063, allocations: 37.69 kB / 0.7903 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.004116, allocations: 178.5 kB / 0.7905 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.004236, allocations: 192.8 kB / 0.7907 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.004244, allocations: 25.7 kB / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.004322, allocations: 182.4 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.004325, allocations: 0.5312 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.00436, allocations: 27.38 kB / 0.7909 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.004468, allocations: 0.4892 MB / 0.7914 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.004483, allocations: 7.984 kB / 0.7914 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.985e-05/0.004523, allocations: 78.39 kB / 0.7915 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.488e-05/0.004588, allocations: 87.75 kB / 0.7916 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.004591, allocations: 4.5 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001211/0.004712, allocations: 83.95 kB / 0.7916 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.004725, allocations: 11.94 kB / 0.7917 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.00473, allocations: 0 / 0.7917 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.004742, allocations: 4.969 kB / 0.7917 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.212e-05/0.004795, allocations: 15.98 kB / 0.7917 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.004804, allocations: 13.5 kB / 0.7917 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/0.004825, allocations: 4 kB / 0.7917 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.004831, allocations: 4 kB / 0.7917 GB, free: 7.516 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 8.293e-05/0.004914, allocations: 279.7 kB / 0.792 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.00496, allocations: 157.3 kB / 0.7921 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.8e-05/0.005008, allocations: 160.7 kB / 0.7923 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.635e-05/0.005064, allocations: 268.8 kB / 0.7925 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.559e-05/0.00513, allocations: 276.5 kB / 0.7928 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.249e-05/0.005192, allocations: 272.1 kB / 0.793 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.005381, allocations: 0.5122 MB / 0.7935 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.349e-05/0.005414, allocations: 144.9 kB / 0.7937 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.005446, allocations: 149.9 kB / 0.7938 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.878e-05/0.005505, allocations: 272 kB / 0.7941 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/0.005567, allocations: 264.9 kB / 0.7943 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.05e-05/0.005628, allocations: 268 kB / 0.7946 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.668e-05/0.005684, allocations: 269.2 kB / 0.7948 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.005811, allocations: 459.8 kB / 0.7953 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.005857, allocations: 152.8 kB / 0.7954 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/0.005924, allocations: 269.2 kB / 0.7957 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.516e-05/0.005979, allocations: 148.9 kB / 0.7958 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.006049, allocations: 272.4 kB / 0.7961 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.006084, allocations: 153.6 kB / 0.7962 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.76e-05/0.006142, allocations: 140.9 kB / 0.7964 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006142, allocations: 2.219 kB / 0.7964 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001643/0.006306, allocations: 11.95 kB / 0.7964 GB, free: 2.52 MB / 0.7448 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 (0): * Single equations (assignments): 0 * 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.0001072/0.006413, allocations: 218.4 kB / 0.7966 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.258e-05/0.006506, allocations: 38.64 kB / 0.7966 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.006508, allocations: 0 / 0.7966 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.00651, allocations: 3.938 kB / 0.7966 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.006946, allocations: 0.7062 MB / 0.7973 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002609/0.007206, allocations: 281.5 kB / 0.7976 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.055e-05/0.007247, allocations: 63.28 kB / 0.7977 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.00728, allocations: 10.67 kB / 0.7977 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.007302, allocations: 12.5 kB / 0.7977 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.007302, allocations: 1.125 kB / 0.7977 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of Templates: time 0.001895/0.009198, allocations: 316.5 kB / 0.798 GB, free: 0.8398 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.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: 4.839243527967483]