Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001027/0.001027, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001421/0.001421, allocations: 170 kB / 24.86 MB, free: 8.895 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.9669/0.9669, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.967/1.967, allocations: 377.9 MB / 0.6247 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.397e-06/3.397e-06, allocations: 0 / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.888e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001998/0.002027, allocations: 0.8102 MB / 0.8136 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001959/0.002222, allocations: 44.81 kB / 0.8136 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.002282, allocations: 1.594 kB / 0.8136 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.17e-05/0.002324, allocations: 11.86 kB / 0.8136 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.707e-05/0.002411, allocations: 7.875 kB / 0.8136 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.367e-05/0.002455, allocations: 19.98 kB / 0.8137 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.286e-05/0.002547, allocations: 64.81 kB / 0.8137 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.002658, allocations: 27.97 kB / 0.8137 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.262e-05/0.00274, allocations: 39.89 kB / 0.8138 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.837e-05/0.002779, allocations: 20.69 kB / 0.8138 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.002795, allocations: 8 kB / 0.8138 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-06/0.002801, allocations: 5.688 kB / 0.8138 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.00282, allocations: 7.938 kB / 0.8138 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.002844, allocations: 19.92 kB / 0.8138 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.302e-05/0.002937, allocations: 43.78 kB / 0.8139 GB, free: 344 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.002941, allocations: 5.516 kB / 0.8139 GB, free: 340 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.92e-07/0.002941, allocations: 0 / 0.8139 GB, free: 340 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.002946, allocations: 0 / 0.8139 GB, free: 340 kB / 0.7605 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.0003442/0.00329, allocations: 412.2 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.003326, allocations: 9.781 kB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.003355, allocations: 12.89 kB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.003477, allocations: 144.4 kB / 0.8144 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.003489, allocations: 8.312 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.003499, allocations: 8.375 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.64e-05/0.003596, allocations: 86.69 kB / 0.8145 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.003603, allocations: 192 / 0.8145 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.003613, allocations: 384 / 0.8145 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.003621, allocations: 10.11 kB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.171e-05/0.003652, allocations: 27.8 kB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.004103, allocations: 0.7224 MB / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.717e-05/0.00419, allocations: 261.4 kB / 0.8155 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.004226, allocations: 137.5 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.004256, allocations: 119.2 kB / 0.8158 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.004304, allocations: 156.7 kB / 0.8159 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.004305, allocations: 3.938 kB / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.961e-05/0.004365, allocations: 37.64 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.004436, allocations: 170.6 kB / 0.8161 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.004567, allocations: 204.8 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.004577, allocations: 25.7 kB / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.004657, allocations: 175 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-06/0.004663, allocations: 7.984 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.004694, allocations: 25.03 kB / 0.8166 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.004836, allocations: 0.4884 MB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.004846, allocations: 3.984 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.588e-05/0.004892, allocations: 81.42 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.621e-05/0.004978, allocations: 88.2 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.00498, allocations: 1.375 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000116/0.005096, allocations: 82.58 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.005111, allocations: 11.47 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.005117, allocations: 0 / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.005128, allocations: 4 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.759e-05/0.005176, allocations: 16.47 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.005181, allocations: 4.828 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.502e-05/0.005206, allocations: 11.89 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.005213, allocations: 10.03 kB / 0.8173 GB, free: 12.54 MB / 0.7761 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 9.705e-05/0.00531, allocations: 279.7 kB / 0.8176 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.005371, allocations: 152.8 kB / 0.8177 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.358e-05/0.005424, allocations: 164.6 kB / 0.8179 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.242e-05/0.005497, allocations: 268 kB / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.754e-05/0.005564, allocations: 264.7 kB / 0.8184 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.356e-05/0.005638, allocations: 276 kB / 0.8187 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.005824, allocations: 498.9 kB / 0.8191 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.046e-05/0.005874, allocations: 144.9 kB / 0.8193 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.722e-05/0.005922, allocations: 148.8 kB / 0.8194 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.447e-05/0.005986, allocations: 276.1 kB / 0.8197 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/0.006048, allocations: 264.1 kB / 0.8199 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-05/0.006108, allocations: 268 kB / 0.8202 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-05/0.006169, allocations: 269.9 kB / 0.8205 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.006315, allocations: 455.8 kB / 0.8209 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.006365, allocations: 152.8 kB / 0.821 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.006437, allocations: 272 kB / 0.8213 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.674e-05/0.006494, allocations: 144.9 kB / 0.8214 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.006565, allocations: 276.8 kB / 0.8217 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.006605, allocations: 145.5 kB / 0.8218 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.006656, allocations: 140.5 kB / 0.822 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.31e-07/0.006657, allocations: 1.344 kB / 0.822 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001505/0.006807, allocations: 15.95 kB / 0.822 GB, free: 7.59 MB / 0.7761 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.0001011/0.006908, allocations: 211.2 kB / 0.8222 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.669e-05/0.006985, allocations: 47.86 kB / 0.8222 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.006986, allocations: 0 / 0.8222 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.006987, allocations: 0 / 0.8222 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.007292, allocations: 0.7062 MB / 0.8229 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.007538, allocations: 277.6 kB / 0.8232 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.411e-05/0.007572, allocations: 59.34 kB / 0.8232 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.027e-05/0.007602, allocations: 6.609 kB / 0.8232 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.007636, allocations: 70.2 kB / 0.8233 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.007636, allocations: 0 / 0.8233 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of Templates: time 0.001696/0.009333, allocations: 337.4 kB / 0.8236 GB, free: 5.844 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.153319112956524]