Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009347/0.0009347, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.001308/0.001308, 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.8867/0.8867, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.666/1.666, 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.767e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001208/0.001225, allocations: 0.7868 MB / 0.9525 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 9.675e-05/0.001322, allocations: 39.78 kB / 0.9525 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.001365, allocations: 8 kB / 0.9526 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.0014, allocations: 11.86 kB / 0.9526 GB, free: 2.152 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.001475, allocations: 7.875 kB / 0.9526 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.938e-05/0.001514, allocations: 19.98 kB / 0.9526 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.735e-05/0.001602, allocations: 59.84 kB / 0.9527 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.001715, allocations: 23.97 kB / 0.9527 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.362e-05/0.001779, allocations: 39.84 kB / 0.9527 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.2e-05/0.001831, allocations: 23.89 kB / 0.9527 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.001853, allocations: 8 kB / 0.9527 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-06/0.001859, allocations: 4 kB / 0.9527 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.001876, allocations: 19.94 kB / 0.9528 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.001901, allocations: 19.92 kB / 0.9528 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.276e-05/0.001994, allocations: 79.56 kB / 0.9529 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.001996, allocations: 0 / 0.9529 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.92e-07/0.001997, allocations: 0 / 0.9529 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.002, allocations: 4 kB / 0.9529 GB, free: 1.848 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.0003194/0.00232, allocations: 302 kB / 0.9532 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.002356, allocations: 12.03 kB / 0.9532 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.002386, allocations: 16.83 kB / 0.9532 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.002539, allocations: 133.6 kB / 0.9533 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.002548, allocations: 8.375 kB / 0.9533 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.002561, allocations: 12.38 kB / 0.9533 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.002689, allocations: 95.88 kB / 0.9534 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.002697, allocations: 192 / 0.9534 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.002706, allocations: 384 / 0.9534 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.002713, allocations: 4.375 kB / 0.9534 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.84e-05/0.002771, allocations: 47.86 kB / 0.9535 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.003118, allocations: 348.5 kB / 0.9538 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.661e-05/0.003165, allocations: 45.12 kB / 0.9538 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.648e-05/0.003191, allocations: 17.84 kB / 0.9539 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.003199, allocations: 4 kB / 0.9539 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.003219, allocations: 34.56 kB / 0.9539 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.00322, allocations: 0 / 0.9539 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001325/0.003352, allocations: 49.62 kB / 0.9539 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.00339, allocations: 81.11 kB / 0.954 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.00347, allocations: 131.1 kB / 0.9541 GB, free: 372 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.00348, allocations: 33.7 kB / 0.9542 GB, free: 332 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.003527, allocations: 104 kB / 0.9543 GB, free: 224 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-06/0.003535, allocations: 4.203 kB / 0.9543 GB, free: 220 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.003561, allocations: 25.67 kB / 0.9543 GB, free: 188 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.003641, allocations: 314.8 kB / 0.9546 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.003654, allocations: 8 kB / 0.9546 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.706e-05/0.003671, allocations: 21.72 kB / 0.9546 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.535e-05/0.003706, allocations: 25.66 kB / 0.9547 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.003708, allocations: 0 / 0.9547 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.876e-05/0.003767, allocations: 53.62 kB / 0.9547 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.003778, allocations: 4.062 kB / 0.9547 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.003783, allocations: 8 kB / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.003794, allocations: 0 / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.627e-05/0.00384, allocations: 8 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.003845, allocations: 3.938 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.433e-05/0.00386, allocations: 7.938 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.003863, allocations: 0 / 0.9547 GB, free: 15.71 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.149e-05/0.003915, allocations: 117.8 kB / 0.9549 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.003935, allocations: 7.953 kB / 0.9549 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.421e-05/0.003949, allocations: 3.469 kB / 0.9549 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.003951, allocations: 4 kB / 0.9549 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.003956, allocations: 4 kB / 0.9549 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.003959, allocations: 3.938 kB / 0.9549 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.004183, allocations: 418.4 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.004184, allocations: 0 / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-06/0.004192, allocations: 4 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.004193, allocations: 0 / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.004199, allocations: 3.938 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.0042, allocations: 3.938 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.004201, allocations: 0 / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.135e-05/0.004252, allocations: 85.94 kB / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.004267, allocations: 7.953 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-06/0.004277, allocations: 7.938 kB / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-06/0.004286, allocations: 0 / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.004297, allocations: 4.078 kB / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.0043, allocations: 7.984 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.583e-05/0.004346, allocations: 105.8 kB / 0.9555 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.004346, allocations: 0 / 0.9555 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001223/0.004468, allocations: 4 kB / 0.9555 GB, free: 14.86 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 6.364e-05/0.004532, allocations: 99.28 kB / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.323e-05/0.004595, allocations: 19.94 kB / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.004596, allocations: 0 / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.854e-06/0.004604, allocations: 7.984 kB / 0.9556 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000105/0.004709, allocations: 10.06 kB / 0.9556 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002364/0.004945, allocations: 192.2 kB / 0.9558 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.46e-05/0.00499, allocations: 79.58 kB / 0.9559 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.005011, allocations: 12.48 kB / 0.9559 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of SimCode: time 4.01e-07/0.005012, allocations: 4 kB / 0.9559 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of Templates: time 0.001351/0.006362, allocations: 0.798 MB / 0.9567 GB, free: 13.57 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.2074171882122755]