Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 88.77 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.001745/0.001745, allocations: 180.8 kB / 16.92 MB, free: 6.23 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.842/2.842, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004126, allocations: 7.969 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3004, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001076/0.3015, allocations: 0.5376 MB / 1.06 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001398/0.3016, allocations: 43.78 kB / 1.06 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.3017, allocations: 0 / 1.06 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.3017, allocations: 3.938 kB / 1.06 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.958e-05/0.3018, allocations: 11.92 kB / 1.06 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.931e-05/0.3019, allocations: 16 kB / 1.06 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.302, allocations: 63.69 kB / 1.06 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.3022, allocations: 43.95 kB / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.02e-05/0.3023, allocations: 19.86 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.3023, allocations: 23.8 kB / 1.06 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.3023, allocations: 4 kB / 1.06 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.354e-06/0.3023, allocations: 0 / 1.06 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.3024, allocations: 7.938 kB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.3024, allocations: 49.52 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.899e-05/0.3025, allocations: 52.16 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3025, allocations: 0 / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3025, allocations: 0 / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.3025, allocations: 0 / 1.06 GB, free: 4.098 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.0004162/0.303, allocations: 371.2 kB / 1.061 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.303, allocations: 12.03 kB / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.3031, allocations: 12.84 kB / 1.061 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.3033, allocations: 188.2 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3033, allocations: 384 / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.3033, allocations: 12.38 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.3035, allocations: 101 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3035, allocations: 192 / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.3035, allocations: 7.938 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3035, allocations: 4 kB / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.577e-05/0.3036, allocations: 43.92 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.3042, allocations: 436.5 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.808e-05/0.3042, allocations: 41.09 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.998e-05/0.3043, allocations: 21.92 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.3043, allocations: 3.938 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.3043, allocations: 38.56 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3043, allocations: 0 / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001704/0.3045, allocations: 53.48 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.3046, allocations: 81.11 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.3047, allocations: 160.5 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.3047, allocations: 29.7 kB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.3048, allocations: 111.9 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.111e-06/0.3048, allocations: 256 / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.3048, allocations: 13.72 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3049, allocations: 322.8 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.305, allocations: 8 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.133e-05/0.305, allocations: 17.7 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.305, allocations: 29.66 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3051, allocations: 0 / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.123e-05/0.3051, allocations: 57.61 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3052, allocations: 5.406 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3052, allocations: 7.922 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3052, allocations: 0 / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/0.3053, allocations: 11.94 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.3053, allocations: 0 / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.502e-05/0.3053, allocations: 11.84 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.3053, allocations: 4 kB / 1.062 GB, free: 1.664 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.825e-05/0.3054, allocations: 117.9 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.3054, allocations: 7.906 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.3055, allocations: 11.8 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3055, allocations: 4 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3055, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3055, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.3059, allocations: 470.8 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3059, allocations: 64 / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.3059, allocations: 8 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3059, allocations: 0 / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.3059, allocations: 3.938 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3059, allocations: 0 / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.306, allocations: 4 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.415e-05/0.306, allocations: 81.77 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-05/0.3061, allocations: 96.98 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.3061, allocations: 3.984 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.959e-05/0.3061, allocations: 96 / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.3062, allocations: 3.984 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3062, allocations: 4 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.444e-05/0.3063, allocations: 122.1 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3063, allocations: 0 / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001853/0.3065, allocations: 7.906 kB / 1.063 GB, free: 0.625 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.000114/0.3066, allocations: 107.2 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.747e-05/0.3067, allocations: 15.94 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3067, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.077e-05/0.3067, allocations: 4 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.3069, allocations: 18.17 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.3072, allocations: 198.6 kB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.3075, allocations: 0.6965 MB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.3075, allocations: 11.44 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3075, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.002327/0.3098, allocations: 0.8521 MB / 1.065 GB, free: 14.65 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches