Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001406/0.001406, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001775/0.001775, 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.046/1.046, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.971/1.971, allocations: 377.8 MB / 0.6239 GB, free: 8.566 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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.672e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001674/0.001701, allocations: 0.8311 MB / 0.8123 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001116/0.001813, allocations: 44.66 kB / 0.8124 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.001861, allocations: 0.7812 kB / 0.8124 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.001895, allocations: 11.86 kB / 0.8124 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.001966, allocations: 13.56 kB / 0.8124 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.73e-05/0.002004, allocations: 15.98 kB / 0.8124 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.513e-05/0.002089, allocations: 59.84 kB / 0.8125 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.002196, allocations: 31.95 kB / 0.8125 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.066e-05/0.002277, allocations: 41.39 kB / 0.8126 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.423e-05/0.002311, allocations: 19.91 kB / 0.8126 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.00233, allocations: 4 kB / 0.8126 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-06/0.002339, allocations: 8 kB / 0.8126 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.002357, allocations: 12.42 kB / 0.8126 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.002383, allocations: 25.67 kB / 0.8126 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.7e-05/0.00247, allocations: 47.77 kB / 0.8127 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.002472, allocations: 0 / 0.8127 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.363e-06/0.002473, allocations: 0 / 0.8127 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.002478, allocations: 0 / 0.8127 GB, free: 0.9414 MB / 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.0004213/0.002899, allocations: 409.2 kB / 0.8131 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.002934, allocations: 8.031 kB / 0.8131 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.002973, allocations: 13.55 kB / 0.8131 GB, free: 496 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.003133, allocations: 140.5 kB / 0.8132 GB, free: 328 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.003144, allocations: 6.938 kB / 0.8132 GB, free: 324 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.003155, allocations: 8.375 kB / 0.8132 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.003261, allocations: 93.39 kB / 0.8133 GB, free: 208 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.003269, allocations: 4.188 kB / 0.8133 GB, free: 204 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.003278, allocations: 384 / 0.8133 GB, free: 204 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.003286, allocations: 384 / 0.8133 GB, free: 204 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.602e-05/0.003332, allocations: 35.84 kB / 0.8134 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.003722, allocations: 451.7 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.202e-05/0.003774, allocations: 62.27 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.905e-05/0.003803, allocations: 25.53 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.261e-06/0.003809, allocations: 0 / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.00383, allocations: 33.39 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.003831, allocations: 0 / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001355/0.003966, allocations: 54.8 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.004005, allocations: 77.11 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.944e-05/0.004104, allocations: 190.6 kB / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/0.004112, allocations: 25.7 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.004172, allocations: 159.8 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.564e-06/0.004179, allocations: 7.891 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.004205, allocations: 19.38 kB / 0.8144 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002433/0.004448, allocations: 0.4897 MB / 0.8149 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.004462, allocations: 3.984 kB / 0.8149 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/0.004481, allocations: 19.38 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.415e-05/0.004515, allocations: 32.09 kB / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.004517, allocations: 0.9688 kB / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.506e-05/0.004592, allocations: 58.77 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.004608, allocations: 4 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.004614, allocations: 4 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.004629, allocations: 0.8438 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.223e-05/0.004682, allocations: 4 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.004688, allocations: 3.938 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.004702, allocations: 6.219 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.004706, allocations: 0 / 0.815 GB, free: 14.29 MB / 0.7761 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.404e-05/0.00477, allocations: 160.6 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.004791, allocations: 3.984 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.004812, allocations: 11.47 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.004814, allocations: 2.875 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.004817, allocations: 0 / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.004821, allocations: 11.88 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.005091, allocations: 0.546 MB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.005094, allocations: 4 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.005107, allocations: 4 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.00511, allocations: 0 / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.005116, allocations: 5.438 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.005119, allocations: 3.938 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.00512, allocations: 4.094 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.983e-05/0.00518, allocations: 88.69 kB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.459e-05/0.005195, allocations: 4 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.005207, allocations: 8.5 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.904e-06/0.005215, allocations: 0.5625 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.005228, allocations: 3.984 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.00523, allocations: 0.5938 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.005283, allocations: 142.1 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.9e-07/0.005284, allocations: 0 / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001262/0.00541, allocations: 19.89 kB / 0.816 GB, free: 13.2 MB / 0.7761 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 9.202e-05/0.005502, allocations: 100.3 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.851e-05/0.00558, allocations: 16.34 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.005582, allocations: 0 / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.179e-05/0.005594, allocations: 24.33 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.005706, allocations: 11.75 kB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.005964, allocations: 162.7 kB / 0.8163 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.477e-05/0.005999, allocations: 66.09 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.869e-05/0.006028, allocations: 3.984 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.006051, allocations: 12.5 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of SimCode: time 8.31e-07/0.006052, allocations: 0 / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.001945/0.007997, allocations: 340.5 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.292316864011809]