Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.007125/0.007125, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001795/0.001796, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.234/2.234, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 63.91 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7258/0.7278, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001695/0.7295, allocations: 0.8205 MB / 1.088 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001008/0.7296, allocations: 45.19 kB / 1.088 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.7297, allocations: 2.188 kB / 1.088 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/0.7297, allocations: 8.953 kB / 1.088 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.39e-05/0.7298, allocations: 6.609 kB / 1.088 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.399e-05/0.7298, allocations: 20.39 kB / 1.088 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.779e-05/0.7299, allocations: 63.69 kB / 1.088 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.7301, allocations: 41.55 kB / 1.088 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.077e-05/0.7301, allocations: 25.77 kB / 1.088 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.082e-05/0.7302, allocations: 31.31 kB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.7302, allocations: 6.125 kB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.7302, allocations: 5.469 kB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.7302, allocations: 16.72 kB / 1.089 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.7303, allocations: 35.72 kB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.7304, allocations: 82 kB / 1.089 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7304, allocations: 0 / 1.089 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7304, allocations: 0.75 kB / 1.089 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.7304, allocations: 3.938 kB / 1.089 GB, free: 4.512 MB / 0.8575 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.0003195/0.7307, allocations: 377.1 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.7308, allocations: 9.062 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.91e-05/0.7308, allocations: 40.66 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.7308, allocations: 13.06 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.731, allocations: 196.1 kB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.731, allocations: 7.656 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.731, allocations: 5.062 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.7312, allocations: 90.59 kB / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.7312, allocations: 5.031 kB / 1.089 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.7312, allocations: 1.094 kB / 1.089 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.7312, allocations: 2.25 kB / 1.089 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.37e-05/0.7313, allocations: 39.88 kB / 1.089 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.7317, allocations: 441.6 kB / 1.09 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.865e-05/0.7318, allocations: 46.55 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/0.7318, allocations: 19.36 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.7318, allocations: 9.766 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.7319, allocations: 32.3 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.7319, allocations: 0 / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001589/0.732, allocations: 56.73 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.7321, allocations: 78.78 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.7322, allocations: 158.7 kB / 1.09 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.111e-06/0.7322, allocations: 29.7 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.7323, allocations: 108.5 kB / 1.09 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.444e-06/0.7323, allocations: 5.938 kB / 1.09 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.7323, allocations: 18.58 kB / 1.09 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.556e-05/0.7324, allocations: 322.9 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.86e-05/0.7324, allocations: 8.469 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.971e-05/0.7324, allocations: 15.73 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/0.7325, allocations: 31.48 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.7325, allocations: 0 / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.379e-05/0.7325, allocations: 57.3 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.7326, allocations: 10.08 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.7326, allocations: 0 / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.7326, allocations: 2.047 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.7327, allocations: 6.609 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.7327, allocations: 1.312 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.933e-05/0.7327, allocations: 9.188 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.7327, allocations: 1.344 kB / 1.091 GB, free: 2.395 MB / 0.8575 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 5.099e-05/0.7328, allocations: 115.4 kB / 1.091 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.7328, allocations: 15.06 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.7328, allocations: 13.36 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.7328, allocations: 1.188 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.7329, allocations: 5.062 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.7329, allocations: 0 / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.7332, allocations: 471.3 kB / 1.091 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.7332, allocations: 0.7969 kB / 1.091 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.127e-05/0.7332, allocations: 7.531 kB / 1.091 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7332, allocations: 4.734 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.7332, allocations: 1.125 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.7332, allocations: 0.9688 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7332, allocations: 1.031 kB / 1.091 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.551e-05/0.7333, allocations: 80.33 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/0.7333, allocations: 95.06 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.7334, allocations: 1.25 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.09e-05/0.7334, allocations: 0.8125 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.7334, allocations: 1.719 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.7334, allocations: 5.125 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.94e-05/0.7335, allocations: 130.8 kB / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7335, allocations: 0 / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001917/0.7337, allocations: 6.312 kB / 1.092 GB, free: 1.469 MB / 0.8575 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.0003453/0.734, allocations: 0.6113 MB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.983e-05/0.7341, allocations: 24.92 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7341, allocations: 0.9688 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/0.7342, allocations: 4.375 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.7343, allocations: 13.91 kB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.7355, allocations: 1.329 MB / 1.094 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.7357, allocations: 0.693 MB / 1.094 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.7357, allocations: 7.031 kB / 1.094 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.7358, allocations: 21.72 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/0.7358, allocations: 0 / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.7517, allocations: 1.573 MB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.986/7.738, allocations: 8.953 kB / 1.096 GB, free: 14.51 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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_To_gal.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches