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.001369/0.001369, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001467/0.001467, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.628/1.628, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.97/2.97, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 67.88 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3266, allocations: 169.9 MB / 1.117 GB, free: 2.527 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002092/0.3287, allocations: 0.7868 MB / 1.118 GB, free: 1.738 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001257/0.3288, allocations: 39.8 kB / 1.118 GB, free: 1.699 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.3289, allocations: 4 kB / 1.118 GB, free: 1.695 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.3289, allocations: 7.875 kB / 1.118 GB, free: 1.688 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.679e-05/0.329, allocations: 11.86 kB / 1.118 GB, free: 1.676 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.994e-05/0.3291, allocations: 23.97 kB / 1.118 GB, free: 1.652 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3292, allocations: 59.84 kB / 1.118 GB, free: 1.594 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.3293, allocations: 31.91 kB / 1.118 GB, free: 1.562 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.739e-05/0.3294, allocations: 27.86 kB / 1.118 GB, free: 1.535 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.892e-05/0.3294, allocations: 31.8 kB / 1.118 GB, free: 1.504 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.3294, allocations: 4 kB / 1.118 GB, free: 1.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.3295, allocations: 8 kB / 1.118 GB, free: 1.492 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.3295, allocations: 11.92 kB / 1.118 GB, free: 1.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.3295, allocations: 31.8 kB / 1.119 GB, free: 1.449 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.3296, allocations: 75.64 kB / 1.119 GB, free: 1.375 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3296, allocations: 3.938 kB / 1.119 GB, free: 1.371 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3296, allocations: 0 / 1.119 GB, free: 1.371 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.3297, allocations: 0 / 1.119 GB, free: 1.371 MB / 1.061 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.0004187/0.3301, allocations: 302 kB / 1.119 GB, free: 1.043 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.3301, allocations: 12.03 kB / 1.119 GB, free: 1.031 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.3301, allocations: 8.891 kB / 1.119 GB, free: 1.023 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.3303, allocations: 142.3 kB / 1.119 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.3304, allocations: 8.375 kB / 1.119 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.3304, allocations: 8.375 kB / 1.119 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.3305, allocations: 95.88 kB / 1.119 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3306, allocations: 192 / 1.119 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3306, allocations: 7.938 kB / 1.119 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.3306, allocations: 0 / 1.119 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.3306, allocations: 31.98 kB / 1.119 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.3311, allocations: 364.4 kB / 1.12 GB, free: 316 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.966e-05/0.3312, allocations: 33.28 kB / 1.12 GB, free: 264 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.3312, allocations: 17.72 kB / 1.12 GB, free: 240 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-06/0.3312, allocations: 0 / 1.12 GB, free: 240 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.3313, allocations: 38.59 kB / 1.12 GB, free: 192 kB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.3313, allocations: 0 / 1.12 GB, free: 192 kB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001661/0.3314, allocations: 65.45 kB / 1.12 GB, free: 120 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.3315, allocations: 77.11 kB / 1.12 GB, free: 24 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.3316, allocations: 129.7 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3316, allocations: 29.7 kB / 1.12 GB, free: 15.85 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.3317, allocations: 111.9 kB / 1.12 GB, free: 15.74 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.708e-06/0.3317, allocations: 7.953 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.3318, allocations: 17.72 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3319, allocations: 314.8 kB / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.3319, allocations: 8 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.257e-05/0.3319, allocations: 13.72 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.332, allocations: 29.66 kB / 1.12 GB, free: 15.33 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.332, allocations: 4 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.023e-05/0.3321, allocations: 57.64 kB / 1.12 GB, free: 15.26 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3321, allocations: 4 kB / 1.12 GB, free: 15.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3321, allocations: 0 / 1.12 GB, free: 15.26 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3321, allocations: 3.938 kB / 1.12 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.074e-05/0.3322, allocations: 11.94 kB / 1.12 GB, free: 15.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3322, allocations: 0 / 1.12 GB, free: 15.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/0.3322, allocations: 3.938 kB / 1.12 GB, free: 15.24 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.3322, allocations: 4 kB / 1.12 GB, free: 15.23 MB / 1.076 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 7.982e-05/0.3323, allocations: 121.8 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.3323, allocations: 8.016 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.3324, allocations: 15.41 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.3324, allocations: 0 / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.3324, allocations: 0 / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.3324, allocations: 0 / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003827/0.3327, allocations: 410.5 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3327, allocations: 3.938 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.3328, allocations: 4 kB / 1.121 GB, free: 14.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3328, allocations: 0 / 1.121 GB, free: 14.63 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.3328, allocations: 8 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3328, allocations: 4.062 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3328, allocations: 0 / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.681e-05/0.3329, allocations: 81.88 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.3329, allocations: 11.89 kB / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.3329, allocations: 0 / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.95e-05/0.3329, allocations: 7.922 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.3329, allocations: 4 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.3329, allocations: 96 / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.993e-05/0.333, allocations: 99.27 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.333, allocations: 0 / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001944/0.3332, allocations: 12.03 kB / 1.121 GB, free: 14.39 MB / 1.076 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.0001036/0.3333, allocations: 99.23 kB / 1.121 GB, free: 14.28 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.325e-05/0.3334, allocations: 19.92 kB / 1.121 GB, free: 14.26 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3334, allocations: 4 kB / 1.121 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.915e-06/0.3334, allocations: 0 / 1.121 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.3336, allocations: 15.84 kB / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.3339, allocations: 154.6 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.999e-05/0.334, allocations: 87.52 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.633e-05/0.334, allocations: 7.938 kB / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.334, allocations: 8.5 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.334, allocations: 0 / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of Templates: time 0.00256/0.3366, allocations: 334.8 kB / 1.122 GB, free: 13.61 MB / 1.076 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 -s ida -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/jenkins1/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: 9.083904292085208]