Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.002023/0.002023, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.002231/0.002231, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.492/1.492, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.797/2.797, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [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.002118/0.002118, allocations: 71.89 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002207/1.052, allocations: 0.7775 MB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001499/1.052, allocations: 52.2 kB / 1.155 GB, free: 32.78 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.19e-05/1.052, allocations: 2.5 kB / 1.155 GB, free: 32.78 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.355e-05/1.052, allocations: 11.25 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.264e-05/1.052, allocations: 10.41 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.82e-05/1.053, allocations: 21.69 kB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/1.053, allocations: 61.91 kB / 1.155 GB, free: 32.72 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/1.053, allocations: 31.5 kB / 1.155 GB, free: 32.71 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.987e-05/1.053, allocations: 26.48 kB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.351e-05/1.053, allocations: 25.55 kB / 1.155 GB, free: 32.68 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/1.053, allocations: 12.19 kB / 1.155 GB, free: 32.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/1.053, allocations: 9.5 kB / 1.155 GB, free: 32.67 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/1.053, allocations: 18.22 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/1.053, allocations: 21.02 kB / 1.155 GB, free: 32.65 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/1.053, allocations: 77.06 kB / 1.155 GB, free: 32.61 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.053, allocations: 0 / 1.155 GB, free: 32.61 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.934e-06/1.053, allocations: 0 / 1.155 GB, free: 32.61 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.084e-06/1.053, allocations: 2.781 kB / 1.155 GB, free: 32.61 MB / 1.076 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.0004095/1.054, allocations: 306 kB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/1.054, allocations: 8.812 kB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/1.054, allocations: 17.83 kB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/1.054, allocations: 136.5 kB / 1.155 GB, free: 32.16 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/1.054, allocations: 7.656 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/1.054, allocations: 10.47 kB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/1.054, allocations: 97.5 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.054, allocations: 192 / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/1.054, allocations: 7.938 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.054, allocations: 2.438 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.869e-05/1.054, allocations: 30.06 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/1.055, allocations: 363 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.543e-05/1.055, allocations: 39.66 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/1.055, allocations: 18.56 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/1.055, allocations: 2.531 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/1.055, allocations: 41.09 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/1.055, allocations: 0 / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001832/1.055, allocations: 56.22 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/1.055, allocations: 79.95 kB / 1.156 GB, free: 31.47 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/1.055, allocations: 123.6 kB / 1.156 GB, free: 31.37 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/1.055, allocations: 25.95 kB / 1.156 GB, free: 31.34 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/1.055, allocations: 120.4 kB / 1.156 GB, free: 31.23 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.538e-06/1.055, allocations: 7.891 kB / 1.156 GB, free: 31.22 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/1.055, allocations: 19.91 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.054e-05/1.055, allocations: 314.3 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/1.055, allocations: 6.656 kB / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.894e-05/1.055, allocations: 19.42 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.624e-05/1.055, allocations: 30.16 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.055, allocations: 6.281 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.082e-05/1.055, allocations: 51.88 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/1.055, allocations: 5.562 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.055, allocations: 0 / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/1.055, allocations: 10.94 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.444e-05/1.055, allocations: 16.92 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.056, allocations: 0 / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/1.056, allocations: 0 / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/1.056, allocations: 7.062 kB / 1.157 GB, free: 30.77 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 5.731e-05/1.056, allocations: 109.6 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/1.056, allocations: 6.859 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/1.056, allocations: 21.61 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/1.056, allocations: 0 / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.056, allocations: 0 / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.056, allocations: 2.938 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/1.056, allocations: 405.7 kB / 1.157 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.056, allocations: 6.562 kB / 1.157 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/1.056, allocations: 2.906 kB / 1.157 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.056, allocations: 0 / 1.157 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/1.056, allocations: 0 / 1.157 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.056, allocations: 2.875 kB / 1.157 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.056, allocations: 7.484 kB / 1.157 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.666e-05/1.056, allocations: 77.08 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/1.056, allocations: 14.09 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/1.056, allocations: 2.719 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.723e-05/1.056, allocations: 0 / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/1.056, allocations: 2.844 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/1.056, allocations: 0 / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.123e-05/1.056, allocations: 104.1 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/1.056, allocations: 0 / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001886/1.056, allocations: 9.219 kB / 1.158 GB, free: 30.04 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 8.687e-05/1.056, allocations: 102.1 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001006/1.057, allocations: 19.09 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.057, allocations: 0 / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.137e-06/1.057, allocations: 2.812 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/1.057, allocations: 17.95 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/1.057, allocations: 154.3 kB / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.067e-05/1.057, allocations: 94.94 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.478e-05/1.057, allocations: 6.359 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/1.057, allocations: 8.5 kB / 1.158 GB, free: 29.69 MB / 1.076 GB Notification: Performance of SimCode: time 2.8e-07/1.057, allocations: 0 / 1.158 GB, free: 29.69 MB / 1.076 GB Notification: Performance of Templates: time 0.002842/1.06, allocations: 327.6 kB / 1.158 GB, free: 29.61 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.077784752007574]