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.0087/0.0087, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001856/0.001856, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.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.606/2.606, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 63.91 kB / 1.018 GB, free: 9.82 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6687/0.6706, allocations: 151.6 MB / 1.166 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001919/0.6726, allocations: 0.8338 MB / 1.167 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001088/0.6727, allocations: 39.78 kB / 1.167 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.6727, allocations: 0 / 1.167 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/0.6728, allocations: 7.875 kB / 1.167 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.366e-05/0.6729, allocations: 7.938 kB / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.778e-05/0.6729, allocations: 23.97 kB / 1.167 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.673, allocations: 59.78 kB / 1.167 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.6732, allocations: 43.98 kB / 1.167 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.423e-05/0.6732, allocations: 23.86 kB / 1.167 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.767e-05/0.6733, allocations: 35.84 kB / 1.167 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.6733, allocations: 4 kB / 1.167 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.734e-05/0.6734, allocations: 8 kB / 1.167 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.6734, allocations: 15.92 kB / 1.167 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.6734, allocations: 35.75 kB / 1.167 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.6736, allocations: 79.28 kB / 1.167 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.6736, allocations: 0 / 1.167 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6736, allocations: 4 kB / 1.167 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.6736, allocations: 0 / 1.167 GB, free: 2.496 MB / 0.8887 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.0004403/0.674, allocations: 379 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.6741, allocations: 12.62 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.6741, allocations: 42.73 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.6742, allocations: 16.84 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.6744, allocations: 196.1 kB / 1.168 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.6744, allocations: 8.375 kB / 1.168 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.6744, allocations: 4.375 kB / 1.168 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.6746, allocations: 98.38 kB / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.6746, allocations: 3.938 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.6746, allocations: 0 / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.6746, allocations: 3.938 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.573e-05/0.6747, allocations: 35.98 kB / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.6753, allocations: 432.7 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.052e-05/0.6753, allocations: 45.28 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.6754, allocations: 29.83 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.643e-06/0.6754, allocations: 0 / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.6754, allocations: 30.56 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.6754, allocations: 3.938 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001655/0.6756, allocations: 53.59 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.6757, allocations: 81.05 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.6758, allocations: 160.7 kB / 1.169 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.6758, allocations: 29.7 kB / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.6759, allocations: 100.1 kB / 1.169 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/0.6759, allocations: 11.94 kB / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.676, allocations: 13.72 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6761, allocations: 322.8 kB / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.6761, allocations: 8 kB / 1.169 GB, free: 172 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/0.6762, allocations: 17.7 kB / 1.169 GB, free: 148 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.457e-05/0.6762, allocations: 29.72 kB / 1.169 GB, free: 112 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.6762, allocations: 0 / 1.169 GB, free: 112 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.935e-05/0.6763, allocations: 61.55 kB / 1.169 GB, free: 44 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.6764, allocations: 11.92 kB / 1.169 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.6764, allocations: 3.938 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.6764, allocations: 0 / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.704e-05/0.6764, allocations: 8 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.6765, allocations: 4.062 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.968e-05/0.6765, allocations: 7.875 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.6765, allocations: 4 kB / 1.17 GB, free: 4 kB / 0.8887 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 9.74e-05/0.6766, allocations: 117.8 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.6767, allocations: 11.89 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.6767, allocations: 11.86 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6767, allocations: 4.094 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.6767, allocations: 0 / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6767, allocations: 3.984 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.6771, allocations: 478.7 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.6772, allocations: 0 / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/0.6772, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6772, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.6772, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.6772, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6772, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.359e-05/0.6773, allocations: 81.94 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.349e-05/0.6774, allocations: 92.98 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.6774, allocations: 4 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.6774, allocations: 0 / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.6774, allocations: 0 / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.6775, allocations: 4 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001015/0.6776, allocations: 121.9 kB / 1.17 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6776, allocations: 4 kB / 1.17 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001905/0.6778, allocations: 4 kB / 1.17 GB, free: 14.95 MB / 0.9044 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.0004005/0.6782, allocations: 0.6132 MB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.6783, allocations: 23.97 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6783, allocations: 0 / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.097e-05/0.6783, allocations: 4 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.6784, allocations: 8 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.6797, allocations: 1.341 MB / 1.172 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.68, allocations: 0.6963 MB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.071e-05/0.6801, allocations: 8.375 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.6801, allocations: 27.42 kB / 1.173 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.6801, allocations: 0 / 1.173 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.7016, allocations: 1.578 MB / 1.175 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/8.783, allocations: 7.25 kB / 1.175 GB, free: 10.59 MB / 0.9044 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