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.001306/0.001306, 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.001386/0.001386, allocations: 194.2 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.43 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.373/2.373, allocations: 390.2 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6342/0.6357, allocations: 140.4 MB / 0.9497 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.00178/0.6375, allocations: 0.8136 MB / 0.9505 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001055/0.6376, allocations: 43.91 kB / 0.9506 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.6377, allocations: 6.688 kB / 0.9506 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.433e-05/0.6377, allocations: 15.8 kB / 0.9506 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.541e-05/0.6378, allocations: 3.938 kB / 0.9506 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.846e-05/0.6378, allocations: 24.05 kB / 0.9506 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.096e-05/0.6379, allocations: 56.66 kB / 0.9507 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.638, allocations: 40.47 kB / 0.9507 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.237e-05/0.6381, allocations: 26.73 kB / 0.9507 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.819e-05/0.6382, allocations: 33.28 kB / 0.9508 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.6382, allocations: 5.5 kB / 0.9508 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.6382, allocations: 6.875 kB / 0.9508 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.6382, allocations: 22.61 kB / 0.9508 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.6382, allocations: 30.69 kB / 0.9508 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.771e-05/0.6383, allocations: 74.31 kB / 0.9509 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6383, allocations: 4 kB / 0.9509 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6383, allocations: 1.375 kB / 0.9509 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.6384, allocations: 0 / 0.9509 GB, free: 8.117 MB / 0.7169 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.0002962/0.6387, allocations: 382.5 kB / 0.9513 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.6387, allocations: 9.625 kB / 0.9513 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.884e-05/0.6387, allocations: 45.47 kB / 0.9513 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.6388, allocations: 8.969 kB / 0.9513 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.6389, allocations: 191.2 kB / 0.9515 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.6389, allocations: 7.125 kB / 0.9515 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.6389, allocations: 8.5 kB / 0.9515 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.6391, allocations: 96.09 kB / 0.9516 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.6391, allocations: 3.938 kB / 0.9516 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.6391, allocations: 1.375 kB / 0.9516 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6391, allocations: 1.375 kB / 0.9516 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.886e-05/0.6392, allocations: 40.55 kB / 0.9517 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.6396, allocations: 433.1 kB / 0.9521 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.703e-05/0.6396, allocations: 40.44 kB / 0.9521 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.6396, allocations: 24.08 kB / 0.9521 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.6396, allocations: 4 kB / 0.9521 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.6397, allocations: 32.03 kB / 0.9522 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6397, allocations: 0 / 0.9522 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000138/0.6398, allocations: 56.23 kB / 0.9522 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.6398, allocations: 77.11 kB / 0.9523 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.64, allocations: 163 kB / 0.9524 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.87e-06/0.64, allocations: 26.89 kB / 0.9525 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.64, allocations: 112.6 kB / 0.9526 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.093e-06/0.64, allocations: 13.16 kB / 0.9526 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.6401, allocations: 20.42 kB / 0.9526 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.645e-05/0.6401, allocations: 321.3 kB / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.6401, allocations: 7.25 kB / 0.9529 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.837e-05/0.6401, allocations: 22.95 kB / 0.9529 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.343e-05/0.6402, allocations: 30.62 kB / 0.953 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.6402, allocations: 0 / 0.953 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.049e-05/0.6403, allocations: 58.81 kB / 0.953 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.6403, allocations: 9.875 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.6403, allocations: 0 / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.6403, allocations: 1.625 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.351e-05/0.6404, allocations: 5.938 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.6404, allocations: 0 / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.6404, allocations: 6.812 kB / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.6404, allocations: 1.281 kB / 0.9531 GB, free: 5.902 MB / 0.7169 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 4.43e-05/0.6405, allocations: 112.8 kB / 0.9532 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.6405, allocations: 15.5 kB / 0.9532 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.6405, allocations: 15.52 kB / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.6405, allocations: 1.031 kB / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6405, allocations: 0 / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.6406, allocations: 1.25 kB / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.6408, allocations: 481.7 kB / 0.9537 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.6408, allocations: 1.344 kB / 0.9537 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.946e-05/0.6408, allocations: 6.812 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6408, allocations: 0.875 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.6409, allocations: 1.344 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6409, allocations: 0 / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6409, allocations: 1.5 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.785e-05/0.6409, allocations: 82.02 kB / 0.9537 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.641, allocations: 95.53 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.641, allocations: 1.344 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.118e-05/0.641, allocations: 1.125 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-06/0.641, allocations: 1.188 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.641, allocations: 1.188 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.352e-05/0.6411, allocations: 120.2 kB / 0.954 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.31e-07/0.6411, allocations: 7.969 kB / 0.954 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001902/0.6413, allocations: 11.5 kB / 0.954 GB, free: 4.941 MB / 0.7169 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.0001996/0.6415, allocations: 0.615 MB / 0.9546 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.849e-05/0.6416, allocations: 24 kB / 0.9546 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.6416, allocations: 0 / 0.9546 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.148e-05/0.6416, allocations: 8.188 kB / 0.9546 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.6418, allocations: 11.08 kB / 0.9546 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007932/0.6426, allocations: 1.323 MB / 0.9559 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.689e-05/0.6427, allocations: 0.6944 MB / 0.9566 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.6427, allocations: 12.36 kB / 0.9566 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.6427, allocations: 23.25 kB / 0.9566 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6427, allocations: 0 / 0.9566 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.6582, allocations: 1.539 MB / 0.9581 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.107/7.765, allocations: 6 kB / 0.9581 GB, free: 1.488 MB / 0.7169 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