Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.To_gal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_10_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.001941/0.001941, 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.001821/0.001821, allocations: 198.6 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.56/2.56, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.91 kB / 0.8693 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5915/0.5929, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.00224/0.5952, allocations: 0.8212 MB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001418/0.5954, allocations: 39.78 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.5954, allocations: 0 / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.5955, allocations: 7.875 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.5956, allocations: 15.86 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.159e-05/0.5957, allocations: 15.98 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.5958, allocations: 63.84 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.5959, allocations: 39.97 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.502e-05/0.596, allocations: 27.81 kB / 1.018 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.5961, allocations: 27.84 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.5961, allocations: 4 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.5961, allocations: 8 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.5961, allocations: 11.94 kB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.5962, allocations: 47.72 kB / 1.019 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.5963, allocations: 62.03 kB / 1.019 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.5963, allocations: 4 kB / 1.019 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5963, allocations: 4 kB / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.5963, allocations: 0 / 1.019 GB, free: 1.254 MB / 0.7637 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.0004362/0.5968, allocations: 381 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5968, allocations: 12.03 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.5969, allocations: 38.73 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.5969, allocations: 12.84 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.5971, allocations: 192.2 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.5972, allocations: 12.31 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.5972, allocations: 4.375 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.5973, allocations: 101.4 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.5974, allocations: 3.938 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.5974, allocations: 7.922 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5974, allocations: 0 / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.44e-05/0.5975, allocations: 39.97 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.598, allocations: 440.6 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.821e-05/0.5981, allocations: 33.28 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.5981, allocations: 25.72 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.5982, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.5982, allocations: 38.58 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.5982, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001733/0.5984, allocations: 57.48 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.5984, allocations: 77.36 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.5986, allocations: 171.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.5986, allocations: 25.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.5987, allocations: 104 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.5987, allocations: 3.906 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.5987, allocations: 17.72 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.5988, allocations: 326.8 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.5988, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/0.5989, allocations: 21.72 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.131e-05/0.5989, allocations: 29.64 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5989, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.154e-05/0.599, allocations: 57.61 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.599, allocations: 7.938 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.599, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5991, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.5991, allocations: 16.05 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.5992, allocations: 7.922 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.5992, allocations: 3.906 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.5992, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 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 8.576e-05/0.5993, allocations: 113.8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.5993, allocations: 11.84 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.5994, allocations: 7.875 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.5994, allocations: 7.984 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5994, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5994, allocations: 4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.5998, allocations: 474.7 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.5998, allocations: 3.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.5998, allocations: 8 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.5998, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.5998, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.5998, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5998, allocations: 8.062 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.361e-05/0.5999, allocations: 81.77 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.6, allocations: 88.95 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.6, allocations: 4 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.055e-05/0.6, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.6001, allocations: 3.984 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.6001, allocations: 8.031 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.505e-05/0.6002, allocations: 119.9 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6002, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001888/0.6004, allocations: 4 kB / 1.022 GB, free: 13.71 MB / 0.7794 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.0003432/0.6007, allocations: 0.621 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.359e-05/0.6008, allocations: 16 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6008, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.149e-05/0.6008, allocations: 7.938 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.601, allocations: 8 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.6021, allocations: 1.325 MB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.6023, allocations: 0.6885 MB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.082e-05/0.6023, allocations: 12.42 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.6024, allocations: 23.44 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6024, allocations: 0 / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.6202, allocations: 1.537 MB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.296/7.916, allocations: 7.875 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches