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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> 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.009675/0.009675, allocations: 97.23 kB / 15.73 MB, free: 6 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.001946/0.001946, allocations: 187.9 kB / 16.67 MB, free: 5.93 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.546/1.546, 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 11.1.0-master/package.mo): time 2.886/2.886, allocations: 469.4 MB / 0.7421 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.91 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3021, allocations: 159.1 MB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002113/0.3043, allocations: 0.8418 MB / 1.221 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001379/0.3044, allocations: 43.78 kB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.82e-05/0.3045, allocations: 0 / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.5e-05/0.3046, allocations: 11.86 kB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.256e-05/0.3046, allocations: 7.875 kB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.014e-05/0.3047, allocations: 23.98 kB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.3048, allocations: 63.83 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.305, allocations: 47.86 kB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.316e-05/0.305, allocations: 23.86 kB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.931e-05/0.3051, allocations: 35.78 kB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.3051, allocations: 8 kB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-06/0.3051, allocations: 4 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.3052, allocations: 15.94 kB / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.3052, allocations: 35.8 kB / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.3053, allocations: 75.58 kB / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3053, allocations: 0 / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.875e-06/0.3054, allocations: 4 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3054, allocations: 0 / 1.221 GB, free: 13.48 MB / 0.9825 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.0004123/0.3058, allocations: 379.1 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3058, allocations: 12.03 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.735e-05/0.3059, allocations: 42.67 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.3059, allocations: 16.84 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.3061, allocations: 184.3 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.3062, allocations: 8.375 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.3062, allocations: 4.375 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.3064, allocations: 101.5 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3064, allocations: 7.938 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3064, allocations: 0 / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.3064, allocations: 0 / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.875e-05/0.3065, allocations: 43.91 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005356/0.307, allocations: 432.7 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.642e-05/0.3071, allocations: 41.16 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.3072, allocations: 21.84 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.3072, allocations: 4.031 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3072, allocations: 34.55 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.3072, allocations: 0 / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001729/0.3074, allocations: 61.62 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.3075, allocations: 77.11 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.3076, allocations: 164.2 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.3076, allocations: 25.7 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.3077, allocations: 100.1 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.063e-05/0.3077, allocations: 11.94 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.3078, allocations: 17.67 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3079, allocations: 323 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.3079, allocations: 12 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.211e-05/0.3079, allocations: 13.72 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.488e-05/0.308, allocations: 37.58 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.308, allocations: 0 / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.889e-05/0.3081, allocations: 49.66 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3081, allocations: 12 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3081, allocations: 4 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3082, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.3082, allocations: 15.92 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3082, allocations: 0 / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.3083, allocations: 3.938 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.3083, allocations: 4 kB / 1.223 GB, free: 10.99 MB / 0.9825 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.895e-05/0.3084, allocations: 115.2 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.3084, allocations: 11.89 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.3085, allocations: 11.88 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3085, allocations: 7.984 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3085, allocations: 4 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3085, allocations: 0 / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.3089, allocations: 474.7 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3089, allocations: 0 / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.3089, allocations: 4.094 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3089, allocations: 3.984 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.3089, allocations: 4.062 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3089, allocations: 0 / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.309, allocations: 4 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.912e-05/0.3091, allocations: 85.75 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.3091, allocations: 85.06 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.3091, allocations: 4 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.1e-05/0.3092, allocations: 4.031 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/0.3092, allocations: 3.984 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.3092, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.276e-05/0.3093, allocations: 122.1 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3093, allocations: 0 / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001935/0.3095, allocations: 8 kB / 1.224 GB, free: 9.949 MB / 0.9825 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.0003859/0.3099, allocations: 0.621 MB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.757e-05/0.31, allocations: 16 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.31, allocations: 0 / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.417e-05/0.31, allocations: 7.938 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.3102, allocations: 7.938 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.3114, allocations: 1.331 MB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.3117, allocations: 0.6963 MB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.07e-05/0.3117, allocations: 4.438 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.3118, allocations: 31.42 kB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.3118, allocations: 3.938 kB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.3289, allocations: 1.575 MB / 1.228 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.368, allocations: 10.67 kB / 1.228 GB, free: 5.598 MB / 0.9825 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