Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0008328/0.0008328, allocations: 76.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.001002/0.001002, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9072/0.9072, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.669/1.669, allocations: 359 MB / 0.6044 GB, free: 11.09 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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.9517 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.742e-05, allocations: 5.234 kB / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001277/0.001304, allocations: 0.7946 MB / 0.9525 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 7.768e-05/0.001382, allocations: 47.78 kB / 0.9525 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.001412, allocations: 0 / 0.9525 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.001431, allocations: 7.938 kB / 0.9526 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.426e-05/0.001475, allocations: 15.8 kB / 0.9526 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 2.398e-05/0.001499, allocations: 19.92 kB / 0.9526 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.00156, allocations: 63.83 kB / 0.9527 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 6.344e-05/0.001624, allocations: 23.98 kB / 0.9527 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.884e-05/0.001672, allocations: 39.84 kB / 0.9527 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.75e-05/0.0017, allocations: 23.89 kB / 0.9527 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.001713, allocations: 8 kB / 0.9527 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.639e-06/0.001717, allocations: 8 kB / 0.9528 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.00173, allocations: 15.94 kB / 0.9528 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.001749, allocations: 23.91 kB / 0.9528 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 6.597e-05/0.001815, allocations: 71.69 kB / 0.9529 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.082e-06/0.001816, allocations: 3.938 kB / 0.9529 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of FrontEnd: time 5.11e-07/0.001817, allocations: 0 / 0.9529 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.985e-06/0.00182, allocations: 4 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.0002097/0.002029, allocations: 298 kB / 0.9531 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.238e-05/0.002052, allocations: 12.03 kB / 0.9532 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.892e-05/0.002071, allocations: 16.84 kB / 0.9532 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.551e-05/0.002166, allocations: 137.5 kB / 0.9533 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.699e-06/0.002171, allocations: 4.375 kB / 0.9533 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.002179, allocations: 12.38 kB / 0.9533 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.542e-05/0.002264, allocations: 98.38 kB / 0.9534 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-06/0.002268, allocations: 192 / 0.9534 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-06/0.002273, allocations: 384 / 0.9534 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.002277, allocations: 4.375 kB / 0.9534 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.949e-05/0.002326, allocations: 39.92 kB / 0.9535 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.002576, allocations: 360.3 kB / 0.9538 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.025e-05/0.002606, allocations: 41.16 kB / 0.9538 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.985e-05/0.002626, allocations: 17.88 kB / 0.9539 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-06/0.00263, allocations: 4 kB / 0.9539 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.002647, allocations: 34.56 kB / 0.9539 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.002648, allocations: 0 / 0.9539 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001276/0.002776, allocations: 49.62 kB / 0.9539 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.002812, allocations: 81.11 kB / 0.954 GB, free: 480 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.99e-05/0.002892, allocations: 131 kB / 0.9541 GB, free: 340 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.002901, allocations: 29.95 kB / 0.9542 GB, free: 304 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.00295, allocations: 112 kB / 0.9543 GB, free: 188 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-06/0.002956, allocations: 3.953 kB / 0.9543 GB, free: 184 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.002981, allocations: 21.67 kB / 0.9543 GB, free: 156 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.238e-05/0.003063, allocations: 310.8 kB / 0.9546 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-06/0.003073, allocations: 11.98 kB / 0.9546 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.46e-05/0.003088, allocations: 25.66 kB / 0.9546 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.622e-05/0.003114, allocations: 25.66 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.003115, allocations: 0 / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.484e-05/0.00316, allocations: 53.69 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.003168, allocations: 4 kB / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.003173, allocations: 11.94 kB / 0.9547 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.003184, allocations: 0 / 0.9547 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.592e-05/0.00323, allocations: 8 kB / 0.9547 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.003235, allocations: 3.938 kB / 0.9547 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.269e-05/0.003248, allocations: 4 kB / 0.9547 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-06/0.003251, allocations: 0 / 0.9547 GB, free: 15.68 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.336e-05/0.003304, allocations: 117.8 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.003324, allocations: 7.953 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.346e-05/0.003338, allocations: 7.531 kB / 0.9549 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.003339, allocations: 4 kB / 0.9549 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.003343, allocations: 0 / 0.9549 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.003346, allocations: 3.938 kB / 0.9549 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.003555, allocations: 414.4 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.003555, allocations: 0 / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-06/0.003562, allocations: 4 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-06/0.003563, allocations: 96 / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.003569, allocations: 7.875 kB / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.00357, allocations: 0 / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.003571, allocations: 8.047 kB / 0.9553 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.677e-05/0.003618, allocations: 81.88 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.00363, allocations: 7.953 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.003641, allocations: 7.938 kB / 0.9554 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-06/0.003648, allocations: 0 / 0.9554 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.003661, allocations: 3.984 kB / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.91e-07/0.003661, allocations: 0 / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.042e-05/0.003702, allocations: 105.5 kB / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.003702, allocations: 0 / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001146/0.003816, allocations: 4 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.053e-05/0.003887, allocations: 99.28 kB / 0.9556 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.153e-05/0.003948, allocations: 19.94 kB / 0.9556 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.00395, allocations: 0 / 0.9556 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.704e-06/0.003957, 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.0001023/0.00406, allocations: 9.875 kB / 0.9556 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002366/0.004296, 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.561e-05/0.004342, allocations: 79.58 kB / 0.9559 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.00436, allocations: 8.5 kB / 0.9559 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of SimCode: time 3.4e-07/0.00436, allocations: 3.938 kB / 0.9559 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of Templates: time 0.00137/0.00573, allocations: 0.7981 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.To_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.234215212054551]