Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.0008533/0.0008533, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008139/0.0008139, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9266/0.9266, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.713/1.713, allocations: 359 MB / 0.6044 GB, free: 11.1 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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 3.938 kB / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.381e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001294/0.001318, allocations: 0.7946 MB / 0.9525 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 9.327e-05/0.001411, allocations: 39.84 kB / 0.9525 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.001452, allocations: 0 / 0.9525 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.001484, allocations: 11.86 kB / 0.9526 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.829e-05/0.001552, allocations: 15.88 kB / 0.9526 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.664e-05/0.001589, allocations: 15.97 kB / 0.9526 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.797e-05/0.001677, allocations: 67.77 kB / 0.9527 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.001789, allocations: 31.92 kB / 0.9527 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.491e-05/0.001854, allocations: 39.89 kB / 0.9527 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.792e-05/0.001902, allocations: 15.92 kB / 0.9527 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.001923, allocations: 8 kB / 0.9527 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-06/0.00193, allocations: 8 kB / 0.9528 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.001947, allocations: 15.91 kB / 0.9528 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.001971, allocations: 19.94 kB / 0.9528 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.211e-05/0.002063, allocations: 71.75 kB / 0.9529 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.002065, allocations: 0 / 0.9529 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002066, allocations: 0 / 0.9529 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.00207, allocations: 7.875 kB / 0.9529 GB, free: 1.812 MB / 0.9011 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.0003204/0.002391, allocations: 303.7 kB / 0.9532 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.002423, allocations: 8.031 kB / 0.9532 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.002454, allocations: 20.83 kB / 0.9532 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.002605, allocations: 141.5 kB / 0.9533 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.002614, allocations: 4.375 kB / 0.9533 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.002625, allocations: 8.375 kB / 0.9533 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.002737, allocations: 91.89 kB / 0.9534 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.002744, allocations: 192 / 0.9534 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.002755, allocations: 4.375 kB / 0.9534 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.00276, allocations: 4.375 kB / 0.9534 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.551e-05/0.002816, allocations: 35.92 kB / 0.9535 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.003159, allocations: 360.4 kB / 0.9538 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.394e-05/0.003203, allocations: 37.22 kB / 0.9538 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.003231, allocations: 17.88 kB / 0.9539 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.003238, allocations: 7.922 kB / 0.9539 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.003261, allocations: 34.56 kB / 0.9539 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.003263, allocations: 3.984 kB / 0.9539 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001296/0.003393, allocations: 45.64 kB / 0.9539 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.003428, allocations: 81.11 kB / 0.954 GB, free: 480 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.003511, allocations: 135.6 kB / 0.9541 GB, free: 336 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.003519, allocations: 29.7 kB / 0.9542 GB, free: 300 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/0.003569, allocations: 108 kB / 0.9543 GB, free: 188 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/0.003576, allocations: 7.953 kB / 0.9543 GB, free: 180 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.003601, allocations: 17.67 kB / 0.9543 GB, free: 156 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.003685, allocations: 318.8 kB / 0.9546 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.0037, allocations: 8 kB / 0.9546 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.615e-05/0.003716, allocations: 13.72 kB / 0.9546 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.774e-05/0.003754, allocations: 37.64 kB / 0.9547 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.003755, allocations: 0 / 0.9547 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.318e-05/0.003808, allocations: 49.7 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.003819, allocations: 4 kB / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.003824, allocations: 0 / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.003835, allocations: 4 kB / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.053e-05/0.003886, allocations: 15.92 kB / 0.9547 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.003891, allocations: 3.938 kB / 0.9547 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.483e-05/0.003906, allocations: 3.938 kB / 0.9547 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.003911, allocations: 4 kB / 0.9547 GB, free: 15.67 MB / 0.9167 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 5.4e-05/0.003965, allocations: 113.8 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.003984, allocations: 11.95 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.004006, allocations: 15.41 kB / 0.9549 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.004008, allocations: 0 / 0.9549 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.004012, allocations: 0 / 0.9549 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.004015, allocations: 3.938 kB / 0.9549 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.004252, allocations: 410.5 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.004253, allocations: 0 / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-06/0.004262, allocations: 4 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.004264, allocations: 0 / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.004271, allocations: 11.92 kB / 0.9553 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.004272, allocations: 4.062 kB / 0.9553 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.004273, allocations: 0 / 0.9553 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.056e-05/0.004324, allocations: 73.89 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.00434, allocations: 11.94 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.00435, allocations: 3.938 kB / 0.9554 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-06/0.004359, allocations: 4 kB / 0.9554 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.004372, allocations: 4 kB / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.004373, allocations: 0 / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.241e-05/0.004416, allocations: 95.27 kB / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.004416, allocations: 0 / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001261/0.004542, allocations: 12.03 kB / 0.9555 GB, free: 14.83 MB / 0.9167 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.39e-05/0.004616, allocations: 99.25 kB / 0.9556 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.591e-05/0.004682, allocations: 19.92 kB / 0.9556 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.004683, allocations: 0 / 0.9556 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.31e-06/0.004689, allocations: 4 kB / 0.9556 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.004801, allocations: 6.656 kB / 0.9556 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/0.005058, allocations: 196.2 kB / 0.9558 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.93e-05/0.005107, allocations: 83.56 kB / 0.9559 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.005129, allocations: 12.5 kB / 0.9559 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of SimCode: time 3.41e-07/0.005129, allocations: 0 / 0.9559 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of Templates: time 0.001449/0.006578, allocations: 0.7942 MB / 0.9567 GB, free: 13.55 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.288164728321135]