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.001517/0.001517, allocations: 80.28 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001779/0.001779, allocations: 166.1 kB / 22.46 MB, free: 5.355 MB / 14.72 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.485/1.485, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 2.738/2.738, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] 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.663e-06/1.663e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.133e-05, allocations: 6.219 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002168/0.0022, allocations: 0.7927 MB / 0.9518 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001599/0.00236, allocations: 35.84 kB / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.676e-05/0.002436, allocations: 0 / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.002474, allocations: 7.875 kB / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.002577, allocations: 19.8 kB / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.902e-05/0.002636, allocations: 15.98 kB / 0.9518 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.002777, allocations: 63.83 kB / 0.9519 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.002928, allocations: 27.98 kB / 0.9519 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.003044, allocations: 47.83 kB / 0.952 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.922e-05/0.003103, allocations: 15.92 kB / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.003126, allocations: 4 kB / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.483e-05/0.003141, allocations: 8 kB / 0.952 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.00317, allocations: 23.91 kB / 0.952 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.003202, allocations: 11.94 kB / 0.952 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.003344, allocations: 75.69 kB / 0.9521 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.003349, allocations: 4 kB / 0.9521 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.021e-06/0.00335, allocations: 0 / 0.9521 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.003355, allocations: 3.938 kB / 0.9521 GB, free: 10.41 MB / 0.8575 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.0005133/0.003869, allocations: 306 kB / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.003904, allocations: 12.03 kB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.003939, allocations: 8.891 kB / 0.9524 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.00414, allocations: 129.7 kB / 0.9525 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.004158, allocations: 8.375 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.004184, allocations: 4.375 kB / 0.9526 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.004366, allocations: 95.89 kB / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.004376, allocations: 4.125 kB / 0.9527 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.004387, allocations: 384 / 0.9527 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.004397, allocations: 8.359 kB / 0.9527 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.05e-05/0.004477, allocations: 35.92 kB / 0.9527 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.005028, allocations: 368.4 kB / 0.9531 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.225e-05/0.005101, allocations: 37.22 kB / 0.9531 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.869e-05/0.005139, allocations: 21.86 kB / 0.9531 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.005151, allocations: 3.938 kB / 0.9531 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.005184, allocations: 38.5 kB / 0.9531 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.005186, allocations: 0 / 0.9531 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001872/0.005373, allocations: 45.64 kB / 0.9532 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.00543, allocations: 77.11 kB / 0.9533 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.005571, allocations: 141.1 kB / 0.9534 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.005589, allocations: 25.7 kB / 0.9534 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.187e-05/0.00567, allocations: 107.9 kB / 0.9535 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.005681, allocations: 7.953 kB / 0.9535 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.005718, allocations: 17.72 kB / 0.9536 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.005896, allocations: 318.8 kB / 0.9539 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.005915, allocations: 4 kB / 0.9539 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.005942, allocations: 17.72 kB / 0.9539 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.093e-05/0.005993, allocations: 33.64 kB / 0.9539 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.005995, allocations: 4 kB / 0.9539 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.143e-05/0.006086, allocations: 53.66 kB / 0.954 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.006099, allocations: 4 kB / 0.954 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.006104, allocations: 0 / 0.954 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.006118, allocations: 0 / 0.954 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.006184, allocations: 15.92 kB / 0.954 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.006191, allocations: 3.938 kB / 0.954 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.006216, allocations: 0 / 0.954 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.006222, allocations: 4 kB / 0.954 GB, free: 8.277 MB / 0.8575 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 9.517e-05/0.006318, allocations: 113.9 kB / 0.9541 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.006359, allocations: 7.953 kB / 0.9541 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.006381, allocations: 7.469 kB / 0.9541 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.006383, allocations: 0 / 0.9541 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.006387, allocations: 0 / 0.9541 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.006395, allocations: 11.92 kB / 0.9541 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.006809, allocations: 410.4 kB / 0.9545 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.006811, allocations: 0 / 0.9545 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.006831, allocations: 7.984 kB / 0.9545 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.006834, allocations: 0 / 0.9545 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.006841, allocations: 11.88 kB / 0.9545 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.006843, allocations: 4.062 kB / 0.9545 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006844, allocations: 0 / 0.9545 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.216e-05/0.006936, allocations: 77.89 kB / 0.9546 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.006965, allocations: 19.88 kB / 0.9546 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.006992, allocations: 3.938 kB / 0.9546 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.768e-05/0.007009, allocations: 0 / 0.9546 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.007026, allocations: 4 kB / 0.9546 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.007029, allocations: 0 / 0.9546 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.42e-05/0.007103, allocations: 99.27 kB / 0.9547 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.007103, allocations: 0 / 0.9547 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001968/0.0073, allocations: 12.03 kB / 0.9547 GB, free: 7.426 MB / 0.8575 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 0.0001084/0.007408, allocations: 95.25 kB / 0.9548 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.687e-05/0.007495, allocations: 23.92 kB / 0.9549 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.007497, allocations: 0 / 0.9549 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-05/0.007508, allocations: 4 kB / 0.9549 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.007658, allocations: 7.938 kB / 0.9549 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/0.007981, allocations: 166.9 kB / 0.955 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.073e-05/0.008062, allocations: 83.19 kB / 0.9551 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.607e-05/0.008088, allocations: 4 kB / 0.9551 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.008111, allocations: 8.5 kB / 0.9551 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of SimCode: time 4.41e-07/0.008112, allocations: 4 kB / 0.9551 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of Templates: time 0.002852/0.01096, allocations: 341.4 kB / 0.9555 GB, free: 6.648 MB / 0.8575 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: 8.141321420669556]