Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 118 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.745/2.745, allocations: 443.5 MB / 0.7293 GB, free: 14.65 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.89 kB / 1.057 GB, free: 2.07 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3013, allocations: 160.8 MB / 1.214 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001998/0.3033, allocations: 0.8214 MB / 1.215 GB, free: 208 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001029/0.3034, allocations: 39.84 kB / 1.215 GB, free: 168 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.3034, allocations: 4 kB / 1.215 GB, free: 164 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.388e-05/0.3035, allocations: 11.86 kB / 1.215 GB, free: 152 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.3036, allocations: 7.875 kB / 1.215 GB, free: 144 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.763e-05/0.3036, allocations: 23.98 kB / 1.215 GB, free: 120 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.3037, allocations: 63.78 kB / 1.215 GB, free: 56 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3038, allocations: 39.94 kB / 1.215 GB, free: 16 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.783e-05/0.3039, allocations: 23.92 kB / 1.215 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/0.304, allocations: 31.73 kB / 1.215 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.304, allocations: 8 kB / 1.215 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-06/0.304, allocations: 4 kB / 1.215 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.639e-05/0.304, allocations: 15.94 kB / 1.215 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.3041, allocations: 39.73 kB / 1.215 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.3042, allocations: 75.52 kB / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3042, allocations: 8 kB / 1.215 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3042, allocations: 0 / 1.215 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.3042, allocations: 0 / 1.215 GB, free: 15.81 MB / 0.9669 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.0004414/0.3046, allocations: 383.1 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.3047, allocations: 12.03 kB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.3047, allocations: 12.84 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.3049, allocations: 192.2 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.3049, allocations: 4.375 kB / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.3049, allocations: 8.375 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3051, allocations: 97.67 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3051, allocations: 192 / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3051, allocations: 3.938 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3051, allocations: 4 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.86e-05/0.3052, allocations: 43.86 kB / 1.216 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.3057, allocations: 436.7 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.728e-05/0.3058, allocations: 41.17 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.3058, allocations: 17.84 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.3058, allocations: 0 / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3059, allocations: 38.56 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3059, allocations: 0 / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000162/0.306, allocations: 57.53 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.3061, allocations: 81.09 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.3062, allocations: 155.7 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.3062, allocations: 25.7 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.3063, allocations: 100.1 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.012e-05/0.3063, allocations: 7.891 kB / 1.217 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.3063, allocations: 29.91 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3065, allocations: 318.8 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.3065, allocations: 7.984 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.415e-05/0.3065, allocations: 21.66 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.981e-05/0.3066, allocations: 21.72 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3066, allocations: 4 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.395e-05/0.3066, allocations: 65.58 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.3067, allocations: 8 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.3067, allocations: 3.938 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3067, allocations: 0 / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.435e-05/0.3067, allocations: 8 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3067, allocations: 0 / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/0.3068, allocations: 3.938 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.3068, allocations: 4 kB / 1.217 GB, free: 13.38 MB / 0.9669 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 8.57e-05/0.3069, allocations: 117.9 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.3069, allocations: 11.94 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.3069, allocations: 11.81 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3069, allocations: 4 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3069, allocations: 0 / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.3069, allocations: 0 / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.3073, allocations: 470.7 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3073, allocations: 4.062 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.3073, allocations: 11.94 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3073, allocations: 4.031 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.3074, allocations: 0 / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3074, allocations: 3.984 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.3074, allocations: 7.984 kB / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.598e-05/0.3074, allocations: 77.89 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.3075, allocations: 85.05 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.3075, allocations: 4 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.18e-05/0.3075, allocations: 4 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.3075, allocations: 0 / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3075, allocations: 4 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.301e-05/0.3076, allocations: 117.5 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3076, allocations: 0 / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000175/0.3078, allocations: 11.94 kB / 1.218 GB, free: 12.33 MB / 0.9669 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.0001127/0.3079, allocations: 107.2 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.93e-05/0.308, allocations: 19.98 kB / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.308, allocations: 0 / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-05/0.308, allocations: 11.94 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.3082, allocations: 11.88 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.3085, allocations: 188.5 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.3088, allocations: 0.7002 MB / 1.219 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.3088, allocations: 11.44 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of SimCode: time 2.9e-07/0.3088, allocations: 0 / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of Templates: time 0.002283/0.3111, allocations: 0.8684 MB / 1.22 GB, free: 10.34 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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: 10.526136228814721]