Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_9_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.007493/0.007493, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001775/0.001775, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 64.02 kB / 0.9504 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2686, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002207/0.2708, allocations: 0.8254 MB / 1.088 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000137/0.271, allocations: 43.78 kB / 1.088 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.078e-05/0.271, allocations: 4 kB / 1.088 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.908e-05/0.2711, allocations: 7.875 kB / 1.088 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.224e-05/0.2712, allocations: 7.875 kB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.364e-05/0.2712, allocations: 27.97 kB / 1.088 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.89e-05/0.2713, allocations: 59.84 kB / 1.088 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.2715, allocations: 39.97 kB / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.2715, allocations: 35.78 kB / 1.089 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.2716, allocations: 27.86 kB / 1.089 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.2716, allocations: 8 kB / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.2716, allocations: 4 kB / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.2716, allocations: 15.92 kB / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.2717, allocations: 35.75 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.2718, allocations: 83.78 kB / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2718, allocations: 0 / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2718, allocations: 0 / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2718, allocations: 0 / 1.089 GB, free: 0.7773 MB / 0.8419 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.0003755/0.2722, allocations: 385 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2723, allocations: 12.03 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.329e-05/0.2723, allocations: 38.73 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.2723, allocations: 8.891 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.2725, allocations: 188.3 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.2725, allocations: 12.31 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.2726, allocations: 4.375 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.2728, allocations: 93.58 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2728, allocations: 7.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2728, allocations: 8 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2728, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.942e-05/0.2729, allocations: 35.92 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.2734, allocations: 432.8 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.753e-05/0.2734, allocations: 41.19 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.2735, allocations: 25.83 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.309e-06/0.2735, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2735, allocations: 30.56 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.2735, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001525/0.2737, allocations: 57.62 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.2738, allocations: 81.11 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.2739, allocations: 160.9 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.2739, allocations: 29.64 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.274, allocations: 107.9 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.274, allocations: 11.89 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.2741, allocations: 17.7 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2742, allocations: 322.9 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.2742, allocations: 8 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.643e-05/0.2742, allocations: 25.64 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.263e-05/0.2743, allocations: 29.72 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2743, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.815e-05/0.2744, allocations: 57.58 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2744, allocations: 12 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2744, allocations: 4 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2744, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/0.2745, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2745, allocations: 7.984 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.2745, allocations: 7.953 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.2746, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 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.229e-05/0.2746, allocations: 113.8 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.2747, allocations: 11.89 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.2747, allocations: 15.86 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2747, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2748, allocations: 4 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.2748, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.2751, allocations: 470.8 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2752, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.846e-05/0.2752, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2752, allocations: 4 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.2752, allocations: 8 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2752, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2752, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.364e-05/0.2753, allocations: 81.95 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.581e-05/0.2754, allocations: 93.05 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.2754, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.197e-05/0.2754, allocations: 8.031 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.2754, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.2754, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.818e-05/0.2755, allocations: 121.3 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2755, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001889/0.2757, allocations: 15.89 kB / 1.092 GB, free: 13.25 MB / 0.8575 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.0003838/0.2761, allocations: 0.621 MB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.925e-05/0.2762, allocations: 23.81 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2762, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.2762, allocations: 8 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.2764, allocations: 4 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.2775, allocations: 1.336 MB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.2778, allocations: 0.6967 MB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.2778, allocations: 4.438 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.2779, allocations: 35.36 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.2779, allocations: 0 / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.2934, allocations: 1.57 MB / 1.096 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.106/7.399, allocations: 3.938 kB / 1.096 GB, free: 8.887 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches