Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001307/0.001307, 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.001375/0.001375, 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 1.026/1.026, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.835/1.835, allocations: 359 MB / 0.6052 GB, free: 11.02 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.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.649e-05, allocations: 8.641 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001739/0.001766, allocations: 0.8136 MB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001227/0.001888, allocations: 44.53 kB / 0.7879 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/0.001939, allocations: 0.8438 kB / 0.7879 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.711e-05/0.001996, allocations: 11.81 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.234e-05/0.002079, allocations: 9.188 kB / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.738e-05/0.002126, allocations: 19.97 kB / 0.788 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.002227, allocations: 59.84 kB / 0.788 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.002363, allocations: 31.97 kB / 0.7881 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/0.002439, allocations: 41.38 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.959e-05/0.002498, allocations: 23.91 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.002517, allocations: 4 kB / 0.7881 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.002527, allocations: 8 kB / 0.7881 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.002546, allocations: 12.98 kB / 0.7882 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.002577, allocations: 19.94 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.699e-05/0.002674, allocations: 48.38 kB / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.002676, allocations: 0 / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.803e-06/0.002678, allocations: 5.406 kB / 0.7882 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.002682, allocations: 0 / 0.7882 GB, free: 11.33 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.0003692/0.003051, allocations: 400.3 kB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.003088, allocations: 13.12 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.003132, allocations: 20.89 kB / 0.7886 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.003353, allocations: 140.4 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.003364, allocations: 1.406 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.00338, allocations: 12.38 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.003541, allocations: 85.59 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.003551, allocations: 1.375 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.003564, allocations: 12.3 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.003574, allocations: 384 / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.311e-05/0.003627, allocations: 33.52 kB / 0.7889 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.004041, allocations: 450.3 kB / 0.7893 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.361e-05/0.004095, allocations: 62.25 kB / 0.7894 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.004128, allocations: 21.09 kB / 0.7894 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-06/0.004136, allocations: 4 kB / 0.7894 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.004165, allocations: 33.39 kB / 0.7895 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.004166, allocations: 1.375 kB / 0.7895 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001582/0.004324, allocations: 53.58 kB / 0.7895 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.004357, allocations: 79.98 kB / 0.7896 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.004464, allocations: 185.8 kB / 0.7898 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.004475, allocations: 29.7 kB / 0.7898 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.00454, allocations: 158.6 kB / 0.7899 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.004554, allocations: 11.89 kB / 0.79 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.004586, allocations: 19.38 kB / 0.79 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.004705, allocations: 0.4923 MB / 0.7905 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.004718, allocations: 0 / 0.7905 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/0.004739, allocations: 20.09 kB / 0.7905 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.004843, allocations: 31.89 kB / 0.7905 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.004845, allocations: 1.375 kB / 0.7905 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.089e-05/0.004916, allocations: 49.64 kB / 0.7906 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.004929, allocations: 6.875 kB / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.004934, allocations: 0 / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.004951, allocations: 4 kB / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.347e-05/0.005004, allocations: 9.172 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.005011, allocations: 3.938 kB / 0.7906 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.005034, allocations: 7.953 kB / 0.7906 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.005038, allocations: 1.75 kB / 0.7906 GB, free: 8.676 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 7.267e-05/0.00511, allocations: 160.5 kB / 0.7907 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.005144, allocations: 4 kB / 0.7907 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.005169, allocations: 7.469 kB / 0.7907 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.005171, allocations: 1.188 kB / 0.7907 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.005174, allocations: 0 / 0.7907 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.005178, allocations: 3.938 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.005492, allocations: 0.5543 MB / 0.7913 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.005493, allocations: 5.594 kB / 0.7913 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.005507, allocations: 4 kB / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.005508, allocations: 0 / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.005515, allocations: 3.938 kB / 0.7913 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.005517, allocations: 5.766 kB / 0.7913 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.005518, allocations: 0 / 0.7913 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.179e-05/0.005579, allocations: 84.14 kB / 0.7914 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.005596, allocations: 11.94 kB / 0.7914 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.005608, allocations: 8.688 kB / 0.7914 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.142e-05/0.005619, allocations: 0 / 0.7914 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.005632, allocations: 4 kB / 0.7914 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.005634, allocations: 0.5312 kB / 0.7914 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.276e-05/0.005687, allocations: 142.4 kB / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005687, allocations: 0 / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001858/0.005873, allocations: 20.42 kB / 0.7916 GB, free: 7.586 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 7.278e-05/0.005945, allocations: 96.56 kB / 0.7917 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.888e-05/0.006024, allocations: 20.48 kB / 0.7917 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.006026, allocations: 3.938 kB / 0.7917 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.006037, allocations: 12.62 kB / 0.7917 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.00618, allocations: 7.938 kB / 0.7917 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.006457, allocations: 175.9 kB / 0.7919 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.629e-05/0.006493, allocations: 59.34 kB / 0.7919 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.487e-05/0.006518, allocations: 4.812 kB / 0.7919 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.006544, allocations: 14.47 kB / 0.7919 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.006545, allocations: 0 / 0.7919 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of Templates: time 0.00215/0.008694, allocations: 351.9 kB / 0.7923 GB, free: 6.801 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_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: 5.427693185862154]