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.01148/0.01148, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.002449/0.002449, allocations: 194.3 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.401/2.401, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.311/4.311, allocations: 437.1 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 75.78 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296/1.298, allocations: 151.6 MB / 1.166 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002581/1.301, allocations: 0.8349 MB / 1.167 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001616/1.301, allocations: 43.78 kB / 1.167 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/1.301, allocations: 0 / 1.167 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.037e-05/1.301, allocations: 11.88 kB / 1.167 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.74e-05/1.301, allocations: 3.938 kB / 1.167 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.871e-05/1.301, allocations: 23.97 kB / 1.167 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/1.301, allocations: 63.78 kB / 1.167 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/1.301, allocations: 43.98 kB / 1.167 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.339e-05/1.302, allocations: 23.86 kB / 1.167 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.415e-05/1.302, allocations: 23.86 kB / 1.167 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/1.302, allocations: 8 kB / 1.167 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/1.302, allocations: 4 kB / 1.167 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.59e-05/1.302, allocations: 27.84 kB / 1.167 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.201e-05/1.302, allocations: 31.81 kB / 1.167 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/1.302, allocations: 71.36 kB / 1.167 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.302, allocations: 0 / 1.167 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.284e-06/1.302, allocations: 3.938 kB / 1.167 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.536e-06/1.302, allocations: 8 kB / 1.167 GB, free: 2.59 MB / 0.8887 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.0005611/1.303, allocations: 375.1 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/1.303, allocations: 12.92 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/1.303, allocations: 38.73 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/1.303, allocations: 16.84 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/1.303, allocations: 196.1 kB / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/1.303, allocations: 8.375 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/1.303, allocations: 4.375 kB / 1.168 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/1.303, allocations: 102.4 kB / 1.168 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/1.303, allocations: 7.875 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/1.303, allocations: 0 / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.303, allocations: 0 / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.305e-05/1.303, allocations: 35.98 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007107/1.304, allocations: 432.8 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.055e-05/1.304, allocations: 45.16 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/1.304, allocations: 21.84 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/1.304, allocations: 7.969 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/1.304, allocations: 34.5 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/1.304, allocations: 4 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002612/1.305, allocations: 53.59 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/1.305, allocations: 81.05 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/1.305, allocations: 160.5 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/1.305, allocations: 29.64 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/1.305, allocations: 100.1 kB / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/1.305, allocations: 7.953 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/1.305, allocations: 17.97 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.305, allocations: 322.8 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/1.305, allocations: 8 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/1.305, allocations: 17.7 kB / 1.169 GB, free: 244 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.098e-05/1.305, allocations: 25.72 kB / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.305, allocations: 3.938 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.034e-05/1.305, allocations: 61.55 kB / 1.169 GB, free: 140 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.305, allocations: 11.94 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.305, allocations: 3.984 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.305, allocations: 0 / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.652e-05/1.306, allocations: 8 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.306, allocations: 3.938 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/1.306, allocations: 3.938 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/1.306, allocations: 12 kB / 1.17 GB, free: 96 kB / 0.8887 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 0.0001164/1.306, allocations: 113.9 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/1.306, allocations: 11.89 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/1.306, allocations: 11.86 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.306, allocations: 0 / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/1.306, allocations: 4 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.306, allocations: 0 / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/1.306, allocations: 478.7 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.306, allocations: 64 / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/1.306, allocations: 8 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.306, allocations: 0 / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/1.306, allocations: 0 / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.306, allocations: 0 / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.306, allocations: 0 / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.863e-05/1.306, allocations: 85.81 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/1.307, allocations: 89.09 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/1.307, allocations: 7.984 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.121e-05/1.307, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/1.307, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/1.307, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001187/1.307, allocations: 120.1 kB / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.11e-07/1.307, allocations: 0 / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002069/1.307, allocations: 8 kB / 1.17 GB, free: 15.05 MB / 0.9044 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.0005248/1.308, allocations: 0.6171 MB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001082/1.308, allocations: 23.88 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.308, allocations: 0 / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.535e-05/1.308, allocations: 4 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/1.308, allocations: 16.95 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/1.309, allocations: 1.339 MB / 1.172 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/1.31, allocations: 0.6963 MB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.141e-05/1.31, allocations: 8.438 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.4e-05/1.31, allocations: 27.42 kB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/1.31, allocations: 0 / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/1.334, allocations: 1.572 MB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/13.43, allocations: 7.891 kB / 1.175 GB, free: 10.69 MB / 0.9044 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