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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001624, allocations: 108 kB / 15.6 MB, free: 132 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.001856/0.001857, allocations: 191.1 kB / 16.53 MB, free: 6.391 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.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.79/2.79, allocations: 469.4 MB / 0.742 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 67.23 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2766, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002277/0.2789, allocations: 0.8313 MB / 1.064 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000152/0.2791, allocations: 39.78 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.185e-05/0.2792, allocations: 4 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.858e-05/0.2793, allocations: 11.86 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.786e-05/0.2794, allocations: 15.88 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.995e-05/0.2794, allocations: 15.98 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.2795, allocations: 59.84 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.2797, allocations: 47.95 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.886e-05/0.2798, allocations: 39.78 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.074e-05/0.2798, allocations: 23.86 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.2799, allocations: 8 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.2799, allocations: 4 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.355e-05/0.2799, allocations: 15.92 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.28, allocations: 35.75 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.2801, allocations: 75.97 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2801, allocations: 0 / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2801, allocations: 3.938 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.2801, allocations: 0 / 1.065 GB, free: 13.3 MB / 0.8262 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.0004435/0.2806, allocations: 371.3 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.2806, allocations: 8.031 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.2807, allocations: 42.73 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.2807, allocations: 12.75 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.2809, allocations: 192.2 kB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.2809, allocations: 8.375 kB / 1.065 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.281, allocations: 4.375 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.2811, allocations: 95.94 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2811, allocations: 3.938 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.2812, allocations: 15.88 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2812, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.64e-05/0.2812, allocations: 31.98 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.2818, allocations: 432.5 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.393e-05/0.2818, allocations: 41.28 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.599e-05/0.2819, allocations: 25.83 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.2819, allocations: 0 / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.2819, allocations: 34.5 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.2819, allocations: 4 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001631/0.2821, allocations: 49.55 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.2821, allocations: 85.05 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2823, allocations: 164.6 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.2823, allocations: 25.7 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.2824, allocations: 108 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.2824, allocations: 3.906 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.2824, allocations: 21.95 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.2825, allocations: 314.8 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.2825, allocations: 8 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.683e-05/0.2826, allocations: 25.7 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/0.2826, allocations: 21.72 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2826, allocations: 0 / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.256e-05/0.2827, allocations: 61.53 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2827, allocations: 9.812 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2827, allocations: 4 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2828, allocations: 0 / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.037e-05/0.2828, allocations: 8 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.2828, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.177e-05/0.2829, allocations: 11.84 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.2829, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 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.049e-05/0.283, allocations: 121.8 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.283, allocations: 15.84 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.283, allocations: 15.86 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.283, allocations: 0 / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2831, allocations: 0 / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2831, allocations: 4 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.2834, allocations: 470.7 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2834, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.928e-05/0.2835, allocations: 4.062 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.2835, allocations: 4 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.2835, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2835, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2835, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.809e-05/0.2836, allocations: 85.77 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.2836, allocations: 93.03 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2837, allocations: 0 / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.316e-05/0.2837, allocations: 4 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.2837, allocations: 4.078 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.2837, allocations: 0 / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.613e-05/0.2838, allocations: 119.2 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2838, allocations: 0 / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001956/0.284, allocations: 12 kB / 1.068 GB, free: 9.777 MB / 0.8262 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.0003658/0.2844, allocations: 0.6192 MB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.609e-05/0.2845, allocations: 15.94 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2845, allocations: 0 / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.551e-05/0.2845, allocations: 8 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.2847, allocations: 16.27 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.2858, allocations: 1.315 MB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.286, allocations: 0.6929 MB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.42e-05/0.2861, allocations: 8.422 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.2861, allocations: 23.44 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2861, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.3033, allocations: 1.55 MB / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.173/7.477, allocations: 16.39 kB / 1.072 GB, free: 5.457 MB / 0.8262 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.csv","/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