Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_gal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_10_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.0112/0.0112, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002054/0.002054, allocations: 198.5 kB / 16.67 MB, free: 5.934 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.265/2.265, allocations: 222.9 MB / 240.4 MB, free: 4.328 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 4.598/4.598, allocations: 437.1 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002132, allocations: 63.89 kB / 1.018 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3761, allocations: 151.6 MB / 1.166 GB, free: 7.418 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.003251/0.3794, allocations: 0.8276 MB / 1.167 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000198/0.3797, allocations: 43.78 kB / 1.167 GB, free: 6.543 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.93e-05/0.3798, allocations: 8 kB / 1.167 GB, free: 6.535 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.218e-05/0.3799, allocations: 11.86 kB / 1.167 GB, free: 6.523 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.38, allocations: 3.938 kB / 1.167 GB, free: 6.52 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 8.171e-05/0.3801, allocations: 23.92 kB / 1.167 GB, free: 6.496 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.3803, allocations: 59.84 kB / 1.167 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.3805, allocations: 47.95 kB / 1.167 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.3806, allocations: 23.88 kB / 1.167 GB, free: 6.367 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.3808, allocations: 31.78 kB / 1.167 GB, free: 6.336 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.3808, allocations: 4 kB / 1.167 GB, free: 6.332 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.879e-05/0.3808, allocations: 8 kB / 1.167 GB, free: 6.324 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.421e-05/0.3809, allocations: 15.92 kB / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.381, allocations: 35.8 kB / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.3812, allocations: 75.81 kB / 1.167 GB, free: 6.199 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3812, allocations: 0 / 1.167 GB, free: 6.199 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3812, allocations: 4 kB / 1.167 GB, free: 6.195 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.3812, allocations: 0 / 1.167 GB, free: 6.195 MB / 0.92 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.0007399/0.382, allocations: 383.1 kB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.382, allocations: 8.031 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.807e-05/0.3821, allocations: 46.75 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.3822, allocations: 12.84 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.3826, allocations: 196.2 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.3826, allocations: 4.375 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.3826, allocations: 12.38 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.383, allocations: 94.61 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.383, allocations: 7.875 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.383, allocations: 0 / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.383, allocations: 4 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.3832, allocations: 39.92 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009292/0.3841, allocations: 436.6 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.977e-05/0.3842, allocations: 41.34 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.182e-05/0.3843, allocations: 13.78 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.3844, allocations: 0 / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.3844, allocations: 46.5 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.954e-06/0.3844, allocations: 0 / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002899/0.3847, allocations: 57.52 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/0.3848, allocations: 77.11 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.3851, allocations: 160.3 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.3852, allocations: 25.7 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.3853, allocations: 104 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.3854, allocations: 12.14 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.3854, allocations: 21.72 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.3857, allocations: 318.8 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.064e-05/0.3857, allocations: 4 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.509e-05/0.3858, allocations: 17.72 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.672e-05/0.3859, allocations: 25.7 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3859, allocations: 4 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001744/0.3861, allocations: 65.55 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3861, allocations: 7.938 kB / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3861, allocations: 0 / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3861, allocations: 0 / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.976e-05/0.3863, allocations: 11.98 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3863, allocations: 0 / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.3863, allocations: 4 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.3864, allocations: 0 / 1.17 GB, free: 3.711 MB / 0.92 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.0001359/0.3865, allocations: 117.9 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.201e-05/0.3866, allocations: 15.83 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.3867, allocations: 11.88 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3867, allocations: 0 / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.3867, allocations: 0 / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.3867, allocations: 7.922 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007596/0.3875, allocations: 474.7 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3875, allocations: 4.062 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.3875, allocations: 8 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3876, allocations: 0 / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3876, allocations: 0 / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.274e-05/0.3876, allocations: 8 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3876, allocations: 0 / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.3878, allocations: 81.88 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.3879, allocations: 85.06 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.388, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.514e-05/0.388, allocations: 4 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.3881, allocations: 12 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.3881, allocations: 4 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001726/0.3883, allocations: 116.7 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3883, allocations: 3.938 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003462/0.3886, allocations: 8 kB / 1.17 GB, free: 2.652 MB / 0.92 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.0006878/0.3893, allocations: 0.6171 MB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.3895, allocations: 27.92 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3896, allocations: 0 / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/0.3896, allocations: 8.156 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.3899, allocations: 8 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.3921, allocations: 1.331 MB / 1.172 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.3927, allocations: 0.6929 MB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.707e-05/0.3927, allocations: 8.422 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/0.3928, allocations: 27.42 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/0.3928, allocations: 0 / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03539/0.4282, allocations: 1.579 MB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.17, allocations: 13.45 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches