Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 109 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 189.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.595/2.595, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 64.09 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7884/0.7897, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002146/0.7919, allocations: 0.8231 MB / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001616/0.7921, allocations: 47.78 kB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.22e-05/0.7922, allocations: 0 / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.222e-05/0.7922, allocations: 7.875 kB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.873e-05/0.7923, allocations: 7.875 kB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.249e-05/0.7924, allocations: 23.97 kB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.7925, allocations: 63.84 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.7926, allocations: 43.91 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.201e-05/0.7927, allocations: 31.8 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.71e-05/0.7928, allocations: 31.8 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.7928, allocations: 8 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.531e-05/0.7928, allocations: 4 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.7929, allocations: 19.92 kB / 1.21 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.7929, allocations: 27.81 kB / 1.21 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.793, allocations: 79.62 kB / 1.21 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.793, allocations: 0 / 1.21 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.064e-06/0.793, allocations: 0 / 1.21 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.7931, allocations: 4 kB / 1.21 GB, free: 12.57 MB / 0.9356 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.000441/0.7935, allocations: 384.9 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.7936, allocations: 12.03 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.7936, allocations: 12.84 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.7938, allocations: 192.2 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.7938, allocations: 4.375 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.7939, allocations: 8.375 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.794, allocations: 91.89 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.794, allocations: 192 / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.7941, allocations: 11.94 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.7941, allocations: 4 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.633e-05/0.7941, allocations: 39.92 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.7947, allocations: 436.6 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.432e-05/0.7948, allocations: 45.25 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.564e-05/0.7948, allocations: 17.78 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.7949, allocations: 0 / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.7949, allocations: 34.56 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7949, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001809/0.7951, allocations: 61.7 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.7951, allocations: 85.11 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.7953, allocations: 156.7 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.7953, allocations: 25.7 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/0.7954, allocations: 108 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/0.7954, allocations: 7.906 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.7955, allocations: 13.72 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.7956, allocations: 322.8 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.7956, allocations: 4 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/0.7956, allocations: 21.72 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.272e-05/0.7957, allocations: 25.66 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.7957, allocations: 0 / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.547e-05/0.7958, allocations: 65.53 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.7958, allocations: 5.875 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.7958, allocations: 7.938 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.7958, allocations: 7.938 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.7959, allocations: 8 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.7959, allocations: 0 / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.164e-05/0.796, allocations: 7.906 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.796, allocations: 0 / 1.212 GB, free: 10.13 MB / 0.9356 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.367e-05/0.7961, allocations: 117.8 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.7961, allocations: 7.906 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.7961, allocations: 15.81 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.7962, allocations: 4 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7962, allocations: 0 / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.7962, allocations: 0 / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.7966, allocations: 466.8 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.7966, allocations: 0 / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.7966, allocations: 7.984 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.7966, allocations: 0 / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.7966, allocations: 0 / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.7966, allocations: 8.062 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.7966, allocations: 0 / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.376e-05/0.7967, allocations: 85.78 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.7968, allocations: 92.94 kB / 1.213 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.7968, allocations: 0 / 1.213 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.095e-05/0.7968, allocations: 0 / 1.213 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.7969, allocations: 4.031 kB / 1.213 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.7969, allocations: 4 kB / 1.213 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.449e-05/0.797, allocations: 125.1 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.797, allocations: 0 / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002017/0.7972, allocations: 11.91 kB / 1.213 GB, free: 9.086 MB / 0.9356 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.0001271/0.7973, allocations: 99.23 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.031e-05/0.7974, allocations: 15.94 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7974, allocations: 8.125 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.085e-05/0.7974, allocations: 4 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.7976, allocations: 7.938 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.7979, allocations: 196.4 kB / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.7982, allocations: 0.6885 MB / 1.214 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.7982, allocations: 15.56 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of SimCode: time 1.694e-06/0.7983, allocations: 0 / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.002244/0.8005, allocations: 0.8793 MB / 1.215 GB, free: 7.102 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches