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.001345/0.001345, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01216/0.01216, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.529/1.529, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.766/2.766, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003842, allocations: 11.81 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3777, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001119/0.3789, allocations: 0.5531 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001181/0.379, allocations: 39.78 kB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.401e-05/0.3791, allocations: 4 kB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.3791, allocations: 3.938 kB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.51e-05/0.3792, allocations: 4 kB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.033e-05/0.3793, allocations: 19.98 kB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.3794, allocations: 59.69 kB / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.3796, allocations: 43.95 kB / 1.059 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.866e-05/0.3796, allocations: 23.88 kB / 1.059 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.072e-05/0.3797, allocations: 19.86 kB / 1.059 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.3797, allocations: 0 / 1.059 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.387e-06/0.3797, allocations: 4 kB / 1.059 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.3798, allocations: 7.875 kB / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.206e-05/0.3798, allocations: 61.44 kB / 1.059 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.38, allocations: 60.03 kB / 1.06 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.38, allocations: 0 / 1.06 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.38, allocations: 0 / 1.06 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.38, allocations: 0 / 1.06 GB, free: 4.578 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.0005205/0.3805, allocations: 375.3 kB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3806, allocations: 8.031 kB / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.3806, allocations: 8.844 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.3808, allocations: 188.2 kB / 1.06 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.3808, allocations: 4.375 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.3809, allocations: 12.31 kB / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.381, allocations: 89.98 kB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.381, allocations: 12.11 kB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3811, allocations: 3.938 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.3811, allocations: 4 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.137e-05/0.3812, allocations: 43.86 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.3817, allocations: 432.6 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.397e-05/0.3818, allocations: 49.19 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.16e-05/0.3818, allocations: 25.83 kB / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-06/0.3818, allocations: 0 / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3819, allocations: 34.55 kB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3819, allocations: 0 / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001697/0.382, allocations: 57.48 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.3821, allocations: 81.11 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.3823, allocations: 161.1 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.3823, allocations: 25.7 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/0.3824, allocations: 107.9 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.787e-06/0.3824, allocations: 4 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.3824, allocations: 9.719 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3826, allocations: 327.1 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.3826, allocations: 4 kB / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.838e-05/0.3826, allocations: 21.66 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.3827, allocations: 25.7 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3827, allocations: 0 / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.121e-05/0.3827, allocations: 61.55 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3828, allocations: 8.062 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3828, allocations: 3.938 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.3828, allocations: 0 / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.3829, allocations: 11.98 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.3829, allocations: 0 / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.988e-05/0.3829, allocations: 7.844 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.3829, allocations: 4 kB / 1.062 GB, free: 2.152 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 8.589e-05/0.383, allocations: 113.8 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.3831, allocations: 7.906 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.3831, allocations: 15.81 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3831, allocations: 7.984 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3831, allocations: 0 / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3831, allocations: 0 / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/0.3835, allocations: 466.8 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3835, allocations: 0 / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.3835, allocations: 7.938 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3835, allocations: 4.062 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.3835, allocations: 3.938 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.3836, allocations: 7.938 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3836, allocations: 4 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.025e-05/0.3836, allocations: 81.83 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.769e-05/0.3837, allocations: 85.02 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.3838, allocations: 32 / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/0.3838, allocations: 4 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.3838, allocations: 3.984 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3838, allocations: 4 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.52e-05/0.3839, allocations: 125.1 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3839, allocations: 0 / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001802/0.3841, allocations: 7.906 kB / 1.063 GB, free: 1.109 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.0001346/0.3842, allocations: 103.2 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.344e-05/0.3843, allocations: 16 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3843, allocations: 0 / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.018e-05/0.3844, allocations: 4 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.3845, allocations: 11.94 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.3848, allocations: 184.8 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.3851, allocations: 0.6926 MB / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.17e-05/0.3851, allocations: 8.422 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.3852, allocations: 11.44 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3852, allocations: 4 kB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of Templates: time 0.002584/0.3877, allocations: 424.6 kB / 1.064 GB, free: 15.59 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/jenkins/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