Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.00148/0.00148, 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.001483/0.001483, allocations: 161 kB / 23.81 MB, free: 0.7539 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.9452/0.9452, allocations: 177.2 MB / 204.2 MB, free: 5.633 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.905/1.905, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.8116 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.349e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.00162/0.001643, allocations: 0.8234 MB / 0.8124 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00012/0.001763, allocations: 40.44 kB / 0.8124 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.001813, allocations: 4 kB / 0.8124 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.001853, allocations: 8.75 kB / 0.8124 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.929e-05/0.001942, allocations: 15.86 kB / 0.8124 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.641e-05/0.001988, allocations: 24.69 kB / 0.8125 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.002093, allocations: 59.84 kB / 0.8125 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.002213, allocations: 25.67 kB / 0.8125 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.002314, allocations: 47.83 kB / 0.8126 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.002352, allocations: 15.97 kB / 0.8126 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.002376, allocations: 4 kB / 0.8126 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.002385, allocations: 9.531 kB / 0.8126 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.002405, allocations: 11.92 kB / 0.8126 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.002432, allocations: 15.94 kB / 0.8126 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.365e-05/0.002526, allocations: 43.7 kB / 0.8127 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.002528, allocations: 5.062 kB / 0.8127 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002528, allocations: 0 / 0.8127 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.002532, allocations: 0 / 0.8127 GB, free: 0.582 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.0003632/0.002895, allocations: 413.8 kB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.002932, allocations: 12.03 kB / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.002975, allocations: 16.88 kB / 0.8131 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.003129, allocations: 132.5 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.003143, allocations: 12.84 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.003155, allocations: 9.094 kB / 0.8132 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.003288, allocations: 88.17 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.003296, allocations: 0.7188 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.003307, allocations: 4.375 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.003315, allocations: 2 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.34e-05/0.003368, allocations: 35.84 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.00385, allocations: 0.7453 MB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.521e-05/0.003936, allocations: 262.1 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.003973, allocations: 134.9 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.004001, allocations: 123.9 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.004045, allocations: 152.7 kB / 0.8147 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.004046, allocations: 4.625 kB / 0.8147 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.078e-05/0.004106, allocations: 34.53 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.004166, allocations: 174.5 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.004288, allocations: 200.3 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.004297, allocations: 27.08 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.004615, allocations: 178.5 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.004618, allocations: 0 / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.004652, allocations: 25.12 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.004765, allocations: 0.4923 MB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.004779, allocations: 4 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.671e-05/0.004826, allocations: 81.42 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.231e-05/0.004898, allocations: 86.75 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.0049, allocations: 3.938 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001365/0.005037, allocations: 89.44 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.005049, allocations: 4 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.005054, allocations: 5.281 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.005069, allocations: 4 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.005132, allocations: 15.94 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.005139, allocations: 3.938 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.402e-05/0.005173, allocations: 12.58 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.005179, allocations: 4.562 kB / 0.8161 GB, free: 12.75 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.797e-05/0.005277, allocations: 284.5 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.005334, allocations: 156.8 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.005379, allocations: 149.8 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.486e-05/0.005444, allocations: 276 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.018e-05/0.005504, allocations: 268 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.177e-05/0.005566, allocations: 278.6 kB / 0.8175 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.005769, allocations: 0.5037 MB / 0.818 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.52e-05/0.005804, allocations: 152.9 kB / 0.8181 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.00584, allocations: 148.8 kB / 0.8183 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-05/0.005903, allocations: 264.1 kB / 0.8185 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.005966, allocations: 268.1 kB / 0.8188 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-05/0.006034, allocations: 272 kB / 0.819 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.399e-05/0.006098, allocations: 268.9 kB / 0.8193 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.006235, allocations: 451.9 kB / 0.8197 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.006282, allocations: 157.8 kB / 0.8199 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/0.006353, allocations: 276 kB / 0.8201 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.006421, allocations: 144.9 kB / 0.8203 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.006492, allocations: 269.5 kB / 0.8205 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.00653, allocations: 152.8 kB / 0.8207 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.298e-05/0.006593, allocations: 145.6 kB / 0.8208 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006593, allocations: 0.8438 kB / 0.8208 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002344/0.006827, allocations: 11.95 kB / 0.8208 GB, free: 7.766 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.0001015/0.006929, allocations: 219.2 kB / 0.821 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.271e-05/0.007021, allocations: 37.77 kB / 0.8211 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.007023, allocations: 0 / 0.8211 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.007024, allocations: 0 / 0.8211 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.007391, allocations: 0.7073 MB / 0.8218 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.00766, allocations: 273.6 kB / 0.822 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.978e-05/0.007699, allocations: 65.58 kB / 0.8221 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.635e-05/0.007736, allocations: 13.67 kB / 0.8221 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.007757, allocations: 13.16 kB / 0.8221 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.007758, allocations: 0 / 0.8221 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of Templates: time 0.002187/0.009944, allocations: 322.3 kB / 0.8224 GB, free: 6.082 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.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.192098275292665]