Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_10_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.01035/0.01035, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.001744/0.001745, allocations: 201.7 kB / 16.68 MB, free: 5.961 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.391/1.391, 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 10.1.1-maint.10.0.x/package.mo): time 2.772/2.772, allocations: 437 MB / 0.7105 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2895, allocations: 151.6 MB / 1.166 GB, free: 7.234 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002301/0.2918, allocations: 0.8333 MB / 1.167 GB, free: 6.398 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001495/0.292, allocations: 51.78 kB / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.638e-05/0.2921, allocations: 0 / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.199e-05/0.2922, allocations: 7.875 kB / 1.167 GB, free: 6.34 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.897e-05/0.2923, allocations: 3.938 kB / 1.167 GB, free: 6.336 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.999e-05/0.2923, allocations: 27.97 kB / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.2924, allocations: 63.78 kB / 1.167 GB, free: 6.246 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.2926, allocations: 39.92 kB / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.831e-05/0.2927, allocations: 31.86 kB / 1.167 GB, free: 6.176 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.348e-05/0.2927, allocations: 31.78 kB / 1.167 GB, free: 6.145 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.2928, allocations: 8 kB / 1.167 GB, free: 6.137 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.948e-06/0.2928, allocations: 4 kB / 1.167 GB, free: 6.133 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.2928, allocations: 23.86 kB / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.2929, allocations: 31.81 kB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.293, allocations: 75.84 kB / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.293, allocations: 0 / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/0.293, allocations: 0 / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.293, allocations: 4 kB / 1.167 GB, free: 6 MB / 0.92 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.0004527/0.2935, allocations: 379.1 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.2935, allocations: 12.03 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.2936, allocations: 42.73 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.2936, allocations: 16.84 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.2939, allocations: 188.2 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.2939, allocations: 4.375 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.2939, allocations: 8.375 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.2941, allocations: 91.94 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2941, allocations: 11.88 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.2941, allocations: 4 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2941, allocations: 3.938 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.568e-05/0.2942, allocations: 35.98 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.2947, allocations: 432.8 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.069e-05/0.2948, allocations: 41.16 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.2949, allocations: 17.84 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.2949, allocations: 3.984 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.2949, allocations: 42.5 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.2949, allocations: 0 / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001873/0.2951, allocations: 57.59 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.2952, allocations: 81.05 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.2953, allocations: 160.7 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.2953, allocations: 25.7 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.2954, allocations: 100.1 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.035e-05/0.2954, allocations: 11.88 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.2955, allocations: 17.72 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2956, allocations: 327.1 kB / 1.169 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.2956, allocations: 4 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.397e-05/0.2956, allocations: 21.7 kB / 1.169 GB, free: 3.645 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.2957, allocations: 21.72 kB / 1.169 GB, free: 3.617 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2957, allocations: 7.875 kB / 1.169 GB, free: 3.609 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.025e-05/0.2958, allocations: 57.61 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.2958, allocations: 16 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2958, allocations: 3.984 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2958, allocations: 0 / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.225e-05/0.2959, allocations: 8 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.2959, allocations: 3.938 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.2959, allocations: 0 / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.2959, allocations: 4 kB / 1.17 GB, free: 3.512 MB / 0.92 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.737e-05/0.296, allocations: 113.8 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.2961, allocations: 11.89 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.2961, allocations: 15.86 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2961, allocations: 0 / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2961, allocations: 4 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2961, allocations: 0 / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.2965, allocations: 470.7 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2965, allocations: 3.938 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/0.2966, allocations: 4 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2966, allocations: 4.062 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.2966, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2966, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2966, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.159e-05/0.2967, allocations: 89.91 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.2967, allocations: 85.05 kB / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.2968, allocations: 7.984 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.2968, allocations: 4.031 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.2968, allocations: 4 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.2968, allocations: 0 / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.337e-05/0.2969, allocations: 120.1 kB / 1.17 GB, free: 2.477 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2969, allocations: 0 / 1.17 GB, free: 2.477 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002032/0.2971, allocations: 11.94 kB / 1.17 GB, free: 2.465 MB / 0.92 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.0003704/0.2975, allocations: 0.6171 MB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.31e-05/0.2976, allocations: 23.94 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2976, allocations: 0 / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/0.2976, allocations: 4 kB / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.2978, allocations: 9.656 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.2989, allocations: 1.334 MB / 1.172 GB, free: 356 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.2992, allocations: 0.7006 MB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.919e-05/0.2992, allocations: 8.438 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.2993, allocations: 27.42 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.2993, allocations: 0 / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.316, allocations: 1.567 MB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/7.5, allocations: 3.953 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches