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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009878/0.0009879, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 173 kB / 16.92 MB, free: 6.652 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.449/1.449, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.782/2.782, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004943, allocations: 9.844 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2939, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.0009589/0.2949, allocations: 0.5453 MB / 1.06 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000126/0.2951, allocations: 47.78 kB / 1.06 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/0.2951, allocations: 0 / 1.06 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.2952, allocations: 3.938 kB / 1.06 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.962e-05/0.2953, allocations: 0 / 1.06 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.666e-05/0.2953, allocations: 15.98 kB / 1.06 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.508e-05/0.2954, allocations: 67.69 kB / 1.06 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.2956, allocations: 51.94 kB / 1.06 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.441e-05/0.2956, allocations: 15.88 kB / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.2957, allocations: 19.86 kB / 1.06 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.2957, allocations: 4 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-06/0.2957, allocations: 0 / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.2957, allocations: 15.86 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.445e-05/0.2958, allocations: 57.39 kB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.574e-05/0.2959, allocations: 56.16 kB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2959, allocations: 0 / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2959, allocations: 0 / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2959, allocations: 0 / 1.06 GB, free: 4.105 MB / 0.8106 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.0003807/0.2963, allocations: 359.3 kB / 1.061 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.2964, allocations: 16.02 kB / 1.061 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.2964, allocations: 8.844 kB / 1.061 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.2966, allocations: 192.2 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.2966, allocations: 12.31 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.2966, allocations: 8.375 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.2968, allocations: 89.67 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2968, allocations: 192 / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.2968, allocations: 11.92 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2968, allocations: 4 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.908e-05/0.2969, allocations: 39.92 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.2975, allocations: 432.6 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.814e-05/0.2975, allocations: 37.25 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.2976, allocations: 17.78 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.2976, allocations: 4 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.2976, allocations: 38.55 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.2976, allocations: 0 / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001593/0.2978, allocations: 53.48 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.2979, allocations: 81.11 kB / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.298, allocations: 159.7 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.298, allocations: 29.95 kB / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.2981, allocations: 115.9 kB / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-06/0.2981, allocations: 3.984 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.2981, allocations: 9.719 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2982, allocations: 322.8 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.2983, allocations: 4 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.914e-05/0.2983, allocations: 25.59 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/0.2983, allocations: 33.7 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2984, allocations: 0 / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.275e-05/0.2984, allocations: 53.55 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2985, allocations: 8 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2985, allocations: 3.938 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.2985, allocations: 0 / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.202e-05/0.2986, allocations: 11.98 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.2986, allocations: 4 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.272e-05/0.2986, allocations: 15.84 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.2986, allocations: 8 kB / 1.062 GB, free: 1.676 MB / 0.8106 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.404e-05/0.2987, allocations: 105.8 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.2987, allocations: 11.91 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.2988, allocations: 11.81 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2988, allocations: 0 / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2988, allocations: 7.984 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.2988, allocations: 0 / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.2992, allocations: 474.8 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2992, allocations: 0 / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.2992, allocations: 4 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2992, allocations: 0 / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.2992, allocations: 0 / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2992, allocations: 3.938 kB / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2992, allocations: 0 / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.651e-05/0.2993, allocations: 85.89 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.2994, allocations: 85.02 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.2994, allocations: 4 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.042e-05/0.2994, allocations: 0 / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.2994, allocations: 4.078 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.2994, allocations: 3.984 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.875e-05/0.2995, allocations: 121.9 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2995, allocations: 4.031 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001877/0.2997, allocations: 11.91 kB / 1.063 GB, free: 0.6445 MB / 0.8106 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.0001027/0.2998, allocations: 103.2 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.674e-05/0.2999, allocations: 12 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.2999, allocations: 0 / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.301e-05/0.2999, allocations: 11.94 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.3001, allocations: 15.88 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.3004, allocations: 202.5 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.3007, allocations: 0.6965 MB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.3007, allocations: 11.44 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3007, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.002108/0.3028, allocations: 0.8482 MB / 1.065 GB, free: 14.67 MB / 0.8262 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