Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",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.001114/0.001114, 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.001128/0.001128, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.308/2.308, allocations: 390.3 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 59.89 kB / 0.8126 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5293/0.5306, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001751/0.5324, allocations: 0.8107 MB / 0.9505 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.282e-05/0.5325, allocations: 41.34 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.57e-05/0.5326, allocations: 1.375 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.5326, allocations: 11.81 kB / 0.9506 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.5327, allocations: 13.23 kB / 0.9506 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.746e-05/0.5327, allocations: 14.73 kB / 0.9506 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.76e-05/0.5328, allocations: 56.67 kB / 0.9507 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.533, allocations: 44.45 kB / 0.9507 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.857e-05/0.533, allocations: 26.69 kB / 0.9507 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.569e-05/0.533, allocations: 33.28 kB / 0.9508 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.5331, allocations: 5.5 kB / 0.9508 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.5331, allocations: 6.938 kB / 0.9508 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.5331, allocations: 17.33 kB / 0.9508 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.5331, allocations: 34.89 kB / 0.9508 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.767e-05/0.5332, allocations: 71.91 kB / 0.9509 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5332, allocations: 0 / 0.9509 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5332, allocations: 0 / 0.9509 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.5332, allocations: 0 / 0.9509 GB, free: 8.277 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.0002916/0.5335, allocations: 382.8 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5336, allocations: 9 kB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.5336, allocations: 37.44 kB / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.5336, allocations: 9.062 kB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.5338, allocations: 203.8 kB / 0.9515 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.5338, allocations: 11.34 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.5338, allocations: 8.344 kB / 0.9515 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.534, allocations: 91.61 kB / 0.9516 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.534, allocations: 3.938 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.534, allocations: 5.219 kB / 0.9516 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.534, allocations: 6.406 kB / 0.9516 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.647e-05/0.5341, allocations: 34.7 kB / 0.9517 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.5345, allocations: 442.2 kB / 0.9521 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.797e-05/0.5345, allocations: 36.95 kB / 0.9521 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.5345, allocations: 23.81 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.5345, allocations: 0 / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.5346, allocations: 35.88 kB / 0.9522 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.5346, allocations: 0 / 0.9522 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001422/0.5347, allocations: 59.03 kB / 0.9522 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.5348, allocations: 82.7 kB / 0.9523 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.5349, allocations: 163.3 kB / 0.9525 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/0.5349, allocations: 25.7 kB / 0.9525 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.5349, allocations: 112.7 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.5349, allocations: 9.375 kB / 0.9526 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.535, allocations: 16.38 kB / 0.9526 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.646e-05/0.535, allocations: 325.8 kB / 0.9529 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/0.535, allocations: 2.688 kB / 0.9529 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.834e-05/0.5351, allocations: 23.22 kB / 0.9529 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.248e-05/0.5351, allocations: 25.66 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.5351, allocations: 1.406 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.249e-05/0.5352, allocations: 59.09 kB / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.5352, allocations: 8.688 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.5352, allocations: 0 / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.5352, allocations: 1.906 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.544e-05/0.5353, allocations: 13.03 kB / 0.9531 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5353, allocations: 9.219 kB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.905e-05/0.5353, allocations: 2.562 kB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.5353, allocations: 1.219 kB / 0.9531 GB, free: 6.043 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.254e-05/0.5354, allocations: 112.4 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.5354, allocations: 12.94 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.784e-05/0.5354, allocations: 10.41 kB / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5354, allocations: 1.156 kB / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.5355, allocations: 0 / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5355, allocations: 5.281 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.5357, allocations: 477.8 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5357, allocations: 1.375 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.5358, allocations: 2.625 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5358, allocations: 1.281 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.5358, allocations: 0 / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5358, allocations: 1.312 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5358, allocations: 8 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.543e-05/0.5358, allocations: 86.48 kB / 0.9538 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.678e-05/0.5359, allocations: 88.14 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.5359, allocations: 5.5 kB / 0.9538 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.5359, allocations: 0 / 0.9538 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-06/0.5359, allocations: 1.562 kB / 0.9538 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.5359, allocations: 5.344 kB / 0.9538 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.287e-05/0.536, allocations: 124.8 kB / 0.954 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.92e-07/0.536, allocations: 0 / 0.954 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001924/0.5362, allocations: 11.12 kB / 0.954 GB, free: 5.086 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.5364, allocations: 0.6198 MB / 0.9546 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.198e-05/0.5365, allocations: 18.83 kB / 0.9546 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5365, allocations: 0 / 0.9546 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.066e-05/0.5365, allocations: 7.938 kB / 0.9546 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.5367, allocations: 7.656 kB / 0.9546 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007909/0.5375, allocations: 1.318 MB / 0.9559 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.857e-05/0.5376, allocations: 0.6989 MB / 0.9566 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.814e-05/0.5376, allocations: 8.469 kB / 0.9566 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.5376, allocations: 22.58 kB / 0.9566 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5376, allocations: 1.188 kB / 0.9566 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.5532, allocations: 1.545 MB / 0.9581 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.209/7.762, allocations: 8.688 kB / 0.9581 GB, free: 1.629 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_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_gal.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches